Giulio Federico commited on
Commit
0541ae0
·
1 Parent(s): 520f981
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -6,14 +6,14 @@ import subprocess
6
  import importlib.util
7
 
8
 
9
- # #Installazione silenziosa C++
10
- # if importlib.util.find_spec("torch_cluster") is None:
11
- # print("Downloading precompiled torch-cluster...")
12
- # subprocess.check_call([
13
- # sys.executable, "-m", "pip", "install", "torch-cluster",
14
- # "-f", "https://data.pyg.org/whl/torch-2.11.0+cu121.html",
15
- # "--no-build-isolation"
16
- # ])
17
 
18
 
19
  # --- INSTALLAZIONE FORZATA DI TINYCUDANN ---
 
6
  import importlib.util
7
 
8
 
9
+ #Installazione silenziosa C++
10
+ if importlib.util.find_spec("torch_cluster") is None:
11
+ print("Downloading precompiled torch-cluster...")
12
+ subprocess.check_call([
13
+ sys.executable, "-m", "pip", "install", "torch-cluster",
14
+ "-f", "https://data.pyg.org/whl/torch-2.11.0+cu121.html",
15
+ "--no-build-isolation"
16
+ ])
17
 
18
 
19
  # --- INSTALLAZIONE FORZATA DI TINYCUDANN ---