Spaces:
Running on Zero
Running on Zero
Tighten GPU duration to measured 393s + 15%
Browse files46 unmodified lines4748495051525346 unmodified linesH3_ROOT = os.environ.get("H3_ROOT", "MiniMaxAI/MiniMax-H3")LORA_REPO = os.environ.get("LORA_REPO", "Enderfga/SolarRenderer")GPU_SIZE = os.environ.get("GPU_SIZE", "xlarge") # 61.7 GiB DiT + fp32 VAE does not fit "large"GPU_DURATION = int(os.environ.get("GPU_DURATION", "900")) # placement + encode + 4 steps + fp32 decodeCANVASES = { # the conditioner's labels, one per target canvas(768, 1344): "1344x768 路 16:9 full",(1344, 768): "768x1344 路 9:16 full",46 unmodified lines4748495051525346 unmodified linesH3_ROOT = os.environ.get("H3_ROOT", "MiniMaxAI/MiniMax-H3")LORA_REPO = os.environ.get("LORA_REPO", "Enderfga/SolarRenderer")GPU_SIZE = os.environ.get("GPU_SIZE", "xlarge") # 61.7 GiB DiT + fp32 VAE does not fit "large"GPU_DURATION = int(os.environ.get("GPU_DURATION", "460")) # measured 393 s (85 placement + 32 encode + 241 sample + 17 decode + moves) + 15%CANVASES = { # the conditioner's labels, one per target canvas(768, 1344): "1344x768 路 16:9 full",(1344, 768): "768x1344 路 9:16 full",
app.py+1-1