File tree Expand file tree Collapse file tree 3 files changed +70
-67
lines changed
Expand file tree Collapse file tree 3 files changed +70
-67
lines changed Original file line number Diff line number Diff line change @@ -40,28 +40,30 @@ cd generative-models
4040
4141#### 2. Setting up the virtualenv
4242
43- - This is assuming you have navigated to the ` generative-models ` root after cloning it.
44- - Our codebase is tested under ` python3.8 ` and ` python3.10 ` . For other python versions, you might encounter version conflicts.
45- - We support ` PyTorch 1.13 ` and ` PyTorch 2.0 ` . Specify your version:
43+ This is assuming you have navigated to the ` generative-models ` root after cloning it.
4644
45+ ** NOTE:** This is tested under ` python3.8 ` and ` python3.10 ` . For other python versions, you might encounter version conflicts.
4746
48- ** PyTorch 1.13**
4947
50- ``` shell
51- export PT_VERSION=" pt13"
52- ```
53-
54- ** PyTorch 2.0**
48+ ** PyTorch 1.13**
5549
5650``` shell
57- export PT_VERSION=" pt2"
51+ # install required packages from pypi
52+ python3 -m venv .pt1
53+ source .pt1/bin/activate
54+ pip3 install wheel
55+ pip3 install -r requirements_pt13.txt
5856```
5957
60- - Create a virtualenv:
58+ ** PyTorch 2.0**
59+
6160
6261``` shell
63- python3 -m venv .$PT_VERSION
64- source .$PT_VERSION /bin/activate
62+ # install required packages from pypi
63+ python3 -m venv .pt2
64+ source .pt2/bin/activate
65+ pip3 install wheel
66+ pip3 install -r requirements_pt2.txt
6567```
6668
6769#### 3. Installation of the required packages from pypi
Original file line number Diff line number Diff line change 1- wheel==0.40.0
2- omegaconf==2.3.0
3- einops==0.6.1
4- fire==0.5.0
5- tqdm==4.65.0
6- pillow==9.5.0
7- numpy==1.25.0
1+ omegaconf
2+ einops
3+ fire
4+ tqdm
5+ pillow
6+ numpy
87webdataset>=0.2.33
9- torch==1.13.1
8+ --extra-index-url https://download.pytorch.org/whl/cu117
9+ torch==1.13.1+cu117
1010xformers==0.0.16
1111torchaudio==0.13.1
12- torchvision==0.14.1
13- torchmetrics==0.11.4
12+ torchvision==0.14.1+cu117
13+ torchmetrics
1414opencv-python==4.6.0.66
15- fairscale==0.4.13
15+ fairscale
1616pytorch-lightning==1.8.5
17- fsspec==2023.6.0
17+ fsspec
1818kornia==0.6.9
19- matplotlib==3.7.1
20- natsort==8.4.0
19+ matplotlib
20+ natsort
2121tensorboardx==2.5.1
22- open-clip-torch==2.20.0
23- chardet==5.1.0
24- scipy==1.10.1
25- pandas==2.0.2
26- pudb==2022.1.3
27- pyyaml==6.0
22+ open-clip-torch
23+ chardet
24+ scipy
25+ pandas
26+ pudb
27+ pyyaml
2828urllib3<1.27,>=1.25.4
2929streamlit>=0.73.1
30- timm>=0.9.2
30+ timm
3131tokenizers==0.12.1
3232torchdata==0.5.1
3333transformers==4.19.1
34- triton==2.0.0
35- wandb>=0.15.4
36- invisible-watermark==0.1.5
37- taming-transformers @ git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
38- clip @ git+https://github.com/openai/CLIP.git@main#egg=clip
39- sdata @ git+https://github.com/Stability-AI/datapipelines.git@main#egg=sdata
34+ triton
35+ wandb
36+ invisible-watermark
37+ -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
38+ -e git+https://github.com/openai/CLIP.git@main#egg=clip
39+ -e git+https://github.com/Stability-AI/datapipelines.git@main#egg=sdata
40+ -e .
Original file line number Diff line number Diff line change 1- wheel==0.40.0
2- omegaconf==2.3.0
3- einops==0.6.1
4- fire==0.5.0
5- tqdm==4.65.0
6- pillow==9.5.0
7- numpy==1.25.0
1+ omegaconf
2+ einops
3+ fire
4+ tqdm
5+ pillow
6+ numpy
87webdataset>=0.2.33
9- ninja==1.11.1
10- torch==2.0.1
11- matplotlib==3.7.1
8+ ninja
9+ torch
10+ matplotlib
1211torchaudio>=2.0.2
13- torchmetrics==0.11.4
12+ torchmetrics
1413torchvision>=0.15.2
1514opencv-python==4.6.0.66
16- fairscale==0.4.13
15+ fairscale
1716pytorch-lightning==2.0.1
18- fire==0.5.0
19- fsspec==2023.6.0
17+ fire
18+ fsspec
2019kornia==0.6.9
21- natsort==8.4.0
22- open-clip-torch==2.20.0
20+ natsort
21+ open-clip-torch
2322chardet==5.1.0
2423tensorboardx==2.6
25- pandas==2.0.2
26- pudb==2022.1.3
27- pyyaml==6.0
24+ pandas
25+ pudb
26+ pyyaml
2827urllib3<1.27,>=1.25.4
29- scipy==1.10.1
28+ scipy
3029streamlit>=0.73.1
31- timm>=0.9.2
30+ timm
3231tokenizers==0.12.1
3332transformers==4.19.1
3433triton==2.0.0
3534torchdata==0.6.1
36- wandb>=0.15.4
37- invisible-watermark>=0.1.5
38- xformers==0.0.20
39- taming_transformers @ git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
40- clip @ git+https://github.com/openai/CLIP.git@main#egg=clip
41- sdata @ git+https://github.com/Stability-AI/datapipelines.git@main#egg=sdata
35+ wandb
36+ invisible-watermark
37+ xformers
38+ -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
39+ -e git+https://github.com/openai/CLIP.git@main#egg=clip
40+ -e git+https://github.com/Stability-AI/datapipelines.git@main#egg=sdata
41+ -e .
You can’t perform that action at this time.
0 commit comments