liuganghuggingface
commited on
Commit
•
1a01805
1
Parent(s):
824a00b
Upload install_test.sh with huggingface_hub
Browse files- install_test.sh +29 -0
install_test.sh
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_t2
|
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
|
19 |
+
|
20 |
+
# Install PyTorch Geometric
|
21 |
+
pip install torch_geometric
|
22 |
+
|
23 |
+
pip install transformers datasets huggingface_hub
|
24 |
+
|
25 |
+
pip install imageio
|
26 |
+
|
27 |
+
echo "deploy_plymdit environment setup complete!"
|
28 |
+
|
29 |
+
# pyg_lib -f https://data.pyg.org/whl/torch-2.1.0+cu118.html
|