ComfyUI-to-Python-Extension icon indicating copy to clipboard operation
ComfyUI-to-Python-Extension copied to clipboard

is there a way to set vram state like HIGH_VRAM and NORMAL_VRAM like in comfyui?

Open MaxTran96 opened this issue 1 year ago • 5 comments

is there a way to set vram state like HIGH_VRAM and NORMAL_VRAM like in comfyui?

MaxTran96 avatar Mar 31 '24 10:03 MaxTran96

I haven't tested, but the default args you pass in comfyui should carry over here as well. Have you tried running the generated script with those arguments?

pydn avatar Mar 31 '24 15:03 pydn

so like python3 workflow_api.py --comfyui_arg arg?

MaxTran96 avatar Apr 01 '24 19:04 MaxTran96

Yep. I haven't tested, but I think that should work.

pydn avatar Apr 01 '24 19:04 pydn

no, it doesn't work. It's not taking any arguments

I have tried

python workflow_api.py --fp16-vae

and

python3 workflow_api.py --comfyui_arg --fp16-vae

But vae always comes fp32

rdcoder33 avatar Jun 06 '24 07:06 rdcoder33

same question ,how!!!!

zdxpan avatar Mar 06 '25 08:03 zdxpan