sdwebuiapi
sdwebuiapi copied to clipboard
How to unload SD checkpoint to free VRAM?
How to perform checkpoint unload with webuiapi? In GUI we can go Setting> Action > unload SD checkpoint. API
Maybe there is needed a reload endpoint. In automatic1111 frontend there is no unload model as well, but Reload UI. So.. I supose the way is to reload the program but from the api.
In the documentation from http://localhost:7860/docs#/ i see there are two endpoints:
POST /sdapi/v1/unload-checkpoint Unloadapi
POST /sdapi/v1/reload-checkpoint Reloadapi
I don't know what these endpoints do, but I think it can be a possible way.
Did you try it?