AutoTrain - Space Automatically Pauses During Training

Hello everyone,

I’m facing an issue with AutoTrain using the Hugging Face graphical interface. Every time I start a training session, my Space automatically pauses within seconds, showing the message: “This Space has been paused by its owner”. However, I haven’t done anything to stop it.

I checked the logs, but they don’t clearly indicate where the issue is coming from. I also searched the forums and documentation but couldn’t find a solution.

Has anyone encountered this issue before or has any idea what might be causing it and how to fix it? Any help would be greatly appreciated!

Thanks in advance.

1 Like

It seems to be a kind of safety device to prevent the case where the program continues to run with a bug and consumes money, assuming that it is running on a paid Spaces. There is probably an error in the settings or something.

space pauses itself to save you money on failure or success. even after its paused, you can click on logs to see what happened. you can find the trained models in your huggingface account if the training finished.

I’m having the same problem. Is there any more information on this issue?

1 Like

Perhaps related?

I figured this out. It’s a setting you control when you first create your Space. At the bottom, there’s a setting called: PAUSE_ON_FAILURE. Set that to 0 instead of 1. Now your Space won’t pause when you encounter an error, and you’ll be able to check the relevant logs.

1 Like