XiangpengYang commited on
Commit
02109df
·
1 Parent(s): 3a73bc7
Files changed (2) hide show
  1. README.md +7 -3
  2. requirements.txt +63 -0
README.md CHANGED
@@ -2,11 +2,15 @@
2
  Our method is tested using cuda12.1, fp16 of accelerator and xformers on a single L40.
3
 
4
  ```bash
5
- conda create -n s python=3.10
 
6
  conda activate st-modulator
 
 
7
  conda install pytorch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 pytorch-cuda=12.1 -c pytorch -c nvidia
8
- conda env create -f environment.yaml
9
- pip install diffusters=0.19.0
 
10
  ```
11
 
12
  `xformers` is recommended to save memory and running time.
 
2
  Our method is tested using cuda12.1, fp16 of accelerator and xformers on a single L40.
3
 
4
  ```bash
5
+ # Step 1: Create and activate Conda environment
6
+ conda create -n st-modulator python=3.10 -y
7
  conda activate st-modulator
8
+
9
+ # Step 2: Install PyTorch and CUDA
10
  conda install pytorch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 pytorch-cuda=12.1 -c pytorch -c nvidia
11
+
12
+ # Step 3: Install additional dependencies with pip
13
+ pip install -r requirements.txt
14
  ```
15
 
16
  `xformers` is recommended to save memory and running time.
requirements.txt ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==2.1.0
2
+ accelerate==0.24.1
3
+ antlr4-python3-runtime==4.9.3
4
+ asttokens==2.4.1
5
+ bitsandbytes==0.35.4
6
+ click==8.1.7
7
+ coloredlogs==15.0.1
8
+ contourpy==1.2.1
9
+ cycler==0.12.1
10
+ decorator==5.1.1
11
+ decord==0.6.0
12
+ diffusers==0.19.0
13
+ einops==0.8.0
14
+ exceptiongroup==1.2.1
15
+ executing==2.0.1
16
+ flatbuffers==24.3.25
17
+ fonttools==4.53.1
18
+ fsspec==2024.6.1
19
+ ftfy==6.2.0
20
+ grpcio==1.65.0
21
+ huggingface-hub==0.17.3
22
+ humanfriendly==10.0
23
+ imageio==2.34.2
24
+ imageio-ffmpeg==0.5.1
25
+ importlib-metadata==8.0.0
26
+ ipython==8.26.0
27
+ jedi==0.19.1
28
+ kiwisolver==1.4.5
29
+ markdown==3.6
30
+ matplotlib==3.9.1
31
+ matplotlib-inline==0.1.7
32
+ modelcards==0.1.6
33
+ omegaconf==2.3.0
34
+ onnxruntime==1.18.1
35
+ onnxruntime-gpu==1.18.1
36
+ opencv-python==4.10.0.84
37
+ packaging==24.1
38
+ parso==0.8.4
39
+ pexpect==4.9.0
40
+ prompt-toolkit==3.0.47
41
+ protobuf==4.25.3
42
+ psutil==6.0.0
43
+ ptyprocess==0.7.0
44
+ pure-eval==0.2.2
45
+ pyav==12.2.0
46
+ pygments==2.18.0
47
+ pyparsing==3.1.2
48
+ python-dateutil==2.9.0.post0
49
+ regex==2024.5.15
50
+ safetensors==0.4.3
51
+ six==1.16.0
52
+ stack-data==0.6.3
53
+ tensorboard==2.17.0
54
+ tensorboard-data-server==0.7.2
55
+ tokenizers==0.14.1
56
+ torch==2.3.1+cu121
57
+ tqdm==4.66.4
58
+ traitlets==5.14.3
59
+ transformers==4.35.0
60
+ triton==2.3.1
61
+ wcwidth==0.2.13
62
+ werkzeug==3.0.3
63
+ zipp==3.19.2