Spaces:
Running on Zero
Running on Zero
| # Hugging Face Space dependencies -- see app_space.py. | |
| # | |
| # The Space is a Gradio app on ZeroGPU (Linux/NVIDIA), where MLX does not exist, | |
| # so inference goes through controlai_agent/engine_torch.py. Do NOT install this | |
| # locally: requirements.txt on `main` is the Apple Silicon MLX runtime. | |
| # Unconstrained on purpose. The platform appends its own gradio, spaces, uvicorn | |
| # and a `torch<=2.11.0` ceiling to this file, and one extra bound of ours can | |
| # make the resolve impossible -- `transformers<4.56` did exactly that, because | |
| # gradio 6 needs huggingface-hub>=1.16 and every transformers<4.56 needs <1.0. | |
| # | |
| # Do not pin torch down to CUDA 12 either: ZeroGPU is backed by Blackwell | |
| # (sm_120), which needs CUDA 12.8+, so an older wheel has no kernels for it. | |
| torch>=2.4.0 | |
| transformers>=4.51.0 | |
| accelerate>=0.30.0 | |
| # gradio, spaces and huggingface-hub are injected by the platform at build time; | |
| # listing them here only adds constraints to conflict with it. | |
| # Deterministic numerics -- every number in an answer comes from these. | |
| numpy>=1.24.0 | |
| scipy>=1.11.0 | |
| control>=0.9.4 | |
| cvxpy>=1.4.0 | |
| matplotlib>=3.7.0 | |
| jsonschema>=4.20.0 | |
| # Retrieval over the local control-engineering library. | |
| rank-bm25>=0.2.2 | |
| pypdf>=3.17.0 | |
| pymupdf>=1.23.0 | |