Spaces:
Sleeping
Sleeping
Update app.py
Browse files26 unmodified lines27282930313233400 unmodified lines43443543643743843944026 unmodified linesimport pk_workflow as pkMODEL_REPO = os.environ.get("H3_MODEL_REPO", "MiniMaxAI/MiniMax-H3")CONDITIONER_SPACE = os.environ.get("H3_CONDITIONER", "multimodalart/qwen3vl-conditioner")# `pack` places the transformer at startup, `lazy` moves everything on the first GPU call.PLACEMENT = os.environ.get("H3_PLACEMENT", "pack").lower()# cuDNN's fused attention is 10-20% faster than the SDPA default on this pool and needs nothing installed. It is400 unmodified linesreturn max(60, int((denoise + decode + post) * _MARGIN) + _PLACEMENT_ALLOWANCE)@spaces.GPU(duration=get_duration, size=GPU_SIZE)def _generate(prompt_embeds,text_token_tags,26 unmodified lines27282930313233400 unmodified lines43443543643743843944026 unmodified linesimport pk_workflow as pkMODEL_REPO = os.environ.get("H3_MODEL_REPO", "MiniMaxAI/MiniMax-H3")CONDITIONER_SPACE = os.environ.get("H3_CONDITIONER", "dagloop5/qwen3vl-conditioner")# `pack` places the transformer at startup, `lazy` moves everything on the first GPU call.PLACEMENT = os.environ.get("H3_PLACEMENT", "pack").lower()# cuDNN's fused attention is 10-20% faster than the SDPA default on this pool and needs nothing installed. It is400 unmodified linesreturn max(60, int((denoise + decode + post) * _MARGIN) + _PLACEMENT_ALLOWANCE)@spaces.GPU(duration=125, size=GPU_SIZE)def _generate(prompt_embeds,text_token_tags,
app.py+2-2