microfactory-lab / requirements.txt
kylebrodeur's picture
deploy: update Space from deploy_preflight --push
beaeaed verified
Raw
History Blame Contribute Delete
949 Bytes
# The Chief Engineer β€” HF Space deps. Local-first; permissive licenses only.
# NEVER add OrcaSlicer/PrusaSlicer (AGPL-3.0).
gradio>=6.17,<7
ollama>=0.4 # local Gemma via Ollama (runs on llama.cpp)
pydantic>=2.7
trimesh>=4.4 # MIT β€” mesh load + overhang location (light use)
shapely>=2.0 # BSD β€” filled cross-section layers (GEOS bundled in the wheel; Space-safe)
# ── ZeroGPU live inference ──────────────────────────────────────────────
# Inlined from requirements-zerogpu.txt (build mounts only this file).
# Set CHIEF_ENGINEER_BACKEND=zerogpu + CHIEF_ENGINEER_HF_MODEL env vars.
spaces>=0.30 # ZeroGPU @spaces.GPU decorator (HF-provided on the Space)
torch>=2.4
transformers>=4.49 # Gemma 3 family support
accelerate>=0.34
peft>=0.11 # LoRA adapter loading (microfactory-node-lora-v2 / -v3-qat)