Spaces:
Running on Zero
Running on Zero
Point at the public multimodalart/qwen3vl-conditioner, called without a token
Browse files1 unmodified line234567819 unmodified lines28293031323334270 unmodified lines3053063073083093103111 unmodified lineThis Space holds the `transformer_ref` partition of the checkpoint and the two autoencoders, **unquantizedbfloat16**, and nothing else. The 62.14 GiB Qwen3-VL conditioner lives in its own Space,[`minimax-h3-conditioner`](https://huggingface.co/spaces/diffusers-internal-dev/minimax-h3-conditioner), which thisone calls over the gradio API for every request; what comes back is a safetensors file holding the two tensors thedenoiser needs, `prompt_embeds` and `text_token_tags`.19 unmodified linesimport gradio as grMODEL_REPO = os.environ.get("H3_MODEL_REPO", "diffusers-internal-dev/MiniMax-H3")CONDITIONER_SPACE = os.environ.get("H3_CONDITIONER", "diffusers-internal-dev/minimax-h3-conditioner")# `lazy` moves all 72.16 GiB onto the card on the first GPU call and leaves it there; `offload` hands placement to# `ComponentsManager.enable_auto_cpu_offload` instead. Neither puts anything on the card at *startup*, which is# deliberate — see `load_models`: the 150 GB storage quota, not the 95 GiB card, is what rules that out here.270 unmodified linesif CLIENT is None:from gradio_client import ClientCLIENT = Client(CONDITIONER_SPACE, token=os.environ.get("HF_TOKEN"))return CLIENT1 unmodified line234567819 unmodified lines28293031323334270 unmodified lines3053063073083093103111 unmodified lineThis Space holds the `transformer_ref` partition of the checkpoint and the two autoencoders, **unquantizedbfloat16**, and nothing else. The 62.14 GiB Qwen3-VL conditioner lives in its own Space,[`qwen3vl-conditioner`](https://huggingface.co/spaces/multimodalart/qwen3vl-conditioner), which thisone calls over the gradio API for every request; what comes back is a safetensors file holding the two tensors thedenoiser needs, `prompt_embeds` and `text_token_tags`.19 unmodified linesimport gradio as grMODEL_REPO = os.environ.get("H3_MODEL_REPO", "diffusers-internal-dev/MiniMax-H3")CONDITIONER_SPACE = os.environ.get("H3_CONDITIONER", "multimodalart/qwen3vl-conditioner")# `lazy` moves all 72.16 GiB onto the card on the first GPU call and leaves it there; `offload` hands placement to# `ComponentsManager.enable_auto_cpu_offload` instead. Neither puts anything on the card at *startup*, which is# deliberate — see `load_models`: the 150 GB storage quota, not the 95 GiB card, is what rules that out here.270 unmodified linesif CLIENT is None:from gradio_client import ClientCLIENT = Client(CONDITIONER_SPACE) # public Space, no org token: the request runs on the caller side quotareturn CLIENT
app.py+3-3