MalikShehram commited on
Commit
fca9f1c
Β·
verified Β·
1 Parent(s): d80df7f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -8
requirements.txt CHANGED
@@ -1,16 +1,14 @@
1
  # ParticleNet β€” GNN Particle Collision Classifier
2
  # Hugging Face Spaces requirements
3
  # Python 3.10+
4
- #
5
- # Install order matters on HF Spaces:
6
- # torch must come before torch_geometric and its companions.
7
 
8
  # ── core deep learning ──
9
  torch==2.2.2
10
- torchvision==0.17.2 # pulled in by torch ecosystem, keeps versions aligned
11
 
12
  # ── graph neural networks ──
13
- # PyTorch Geometric and its sparse/scatter backends
 
14
  torch-geometric==2.5.3
15
  torch-scatter==2.1.2
16
  torch-sparse==0.6.18
@@ -18,10 +16,10 @@ torch-cluster==1.6.3
18
 
19
  # ── scientific computing ──
20
  numpy==1.26.4
21
- scikit-learn==1.4.2 # used for kNN graph construction in the jet generator
22
 
23
  # ── visualisation ──
24
- plotly==5.22.0 # interactive jet graph + training curves
25
 
26
  # ── Gradio UI ──
27
- gradio==4.36.1
 
1
  # ParticleNet β€” GNN Particle Collision Classifier
2
  # Hugging Face Spaces requirements
3
  # Python 3.10+
 
 
 
4
 
5
  # ── core deep learning ──
6
  torch==2.2.2
7
+ torchvision==0.17.2
8
 
9
  # ── graph neural networks ──
10
+ # Tell pip to fetch pre-built wheels for CPU instead of compiling from source
11
+ --find-links https://data.pyg.org/whl/torch-2.2.0+cpu.html
12
  torch-geometric==2.5.3
13
  torch-scatter==2.1.2
14
  torch-sparse==0.6.18
 
16
 
17
  # ── scientific computing ──
18
  numpy==1.26.4
19
+ scikit-learn==1.4.2
20
 
21
  # ── visualisation ──
22
+ plotly==5.22.0
23
 
24
  # ── Gradio UI ──
25
+ gradio==4.36.1