liuganghuggingface commited on
Commit
a264edd
1 Parent(s): 491cb22

Upload install_require.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. install_require.sh +32 -0
install_require.sh ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Set non-interactive frontend
4
+ export DEBIAN_FRONTEND=noninteractive
5
+
6
+ # Create a new conda environment
7
+ # conda create -n deploy_plymdit_t2 python=3.8 -y
8
+
9
+ # Activate the environment
10
+ conda activate deploy_plymdit
11
+
12
+ # Install packages using pip
13
+ pip install pyarrow pandas joblib scikit-learn==1.3.1
14
+
15
+ pip install rdkit=='2023.9.6'
16
+
17
+ # Install PyTorch with CUDA support
18
+ pip install torch==2.1.0 --index-url https://download.pytorch.org/whl/cu118
19
+
20
+ # Install PyTorch Geometric
21
+ pip install torch_geometric
22
+ # Install PyTorch Geometric optional dependencies
23
+ ### here match the version of pytorch==2.1.0
24
+ pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.1.0+cu118.html
25
+
26
+ pip install transformers datasets huggingface_hub
27
+
28
+ pip install gradio imageio
29
+
30
+ echo "deploy_plymdit environment setup complete!"
31
+
32
+ # pyg_lib -f https://data.pyg.org/whl/torch-2.1.0+cu118.html