sasukeUchiha123 commited on
Commit
8e3e349
·
verified ·
1 Parent(s): 534607a

Upload requirements.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. requirements.txt +29 -3
requirements.txt CHANGED
@@ -1,3 +1,29 @@
1
- altair
2
- pandas
3
- streamlit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hugging Face Space requirements (Streamlit SDK).
2
+ #
3
+ # Shape: Streamlit UI + in-process agent loop, where the agent talks to Qwen
4
+ # via HF Inference Providers. GPU-touching tools (profile_run, benchmark)
5
+ # fall back to FakeRunner — no GPU on the Space, no torch needed.
6
+ #
7
+ # Notably ABSENT:
8
+ # * `sentence-transformers` / `torch` / `transformers`
9
+ # We ship a pre-built embeddings cache at `kb/.embeddings_cache_<sha>.npy`
10
+ # keyed on the YAML's sha256, so query_rocm_kb hits the cache instead of
11
+ # loading the embedding model. If you edit `kb/rocm_rules.yaml` and push
12
+ # without rebuilding the cache locally, query_rocm_kb returns ok=False
13
+ # with a clear message and the rest of the agent loop keeps working.
14
+ # * `fastapi` / `uvicorn` / `sse-starlette`
15
+ # The Space embeds the agent loop in-process; no HTTP backend needed.
16
+ # * `anthropic`
17
+ # Qwen-only since Phase 3.
18
+ #
19
+ # For the full developer install (FastAPI backend, KB rebuild, ROCm runner)
20
+ # use `pip install -e ".[dev]"` against `pyproject.toml`.
21
+ streamlit>=1.32
22
+ altair>=5.2
23
+ pandas>=2.2
24
+ pydantic>=2.6
25
+ requests>=2.31
26
+ huggingface_hub>=0.28
27
+ openai>=1.30
28
+ numpy>=1.26
29
+ PyYAML>=6.0