You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generate all the images through the API, but when I close the CMD screen, the Fooocus API continues to use the allocated gpu memory on the graphics card in the background.
Is there a way to completely close the FooocusAPI server with the API?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I start the API bat file in python with the code
bat_file_path = r"D:\AI\Fooocus-API\start.bat"
subprocess.run(['start', 'cmd', '/k', bat_file_path], shell=True)
I generate all the images through the API, but when I close the CMD screen, the Fooocus API continues to use the allocated gpu memory on the graphics card in the background.
Is there a way to completely close the FooocusAPI server with the API?
Beta Was this translation helpful? Give feedback.
All reactions