-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoprune - checkpoints not always moved #22
Comments
Windows seems to be locking the file which prevents it from being deleted. What types of models are being left behind? Just |
I suspect the safetensors library is leaving a file handle open somehow, so ive changed to a different loading in 3bdd184. Could fix it. |
I only tend to use files in .safetensors format. I'll try the fix. Thank you. |
I tested with 8 .safetensors files. 5 were removed and 3 failed. |
I will have to boot up windows and see if i can replicate the issue. Another thing it could be is an antivirus, they scan files that get opened which may be locking them. |
I am presently having this issue, also on Windows. |
I've noticed an issue when I add checkpoints to the Autoprune folder. Sometimes when it processes them it will remove them from the folder but other times it doesn't. When I then restart the UI, it will create a new copy of the checkpoints.
The text was updated successfully, but these errors were encountered: