wolverinn commited on
Commit
90c177c
1 Parent(s): 5ed6d89

add requirements

Browse files
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- # this one is for lightning.ai
2
  blendmodes==2022
3
  transformers==4.25.1
4
  accelerate==0.12.0
@@ -8,11 +8,14 @@ gradio==3.16.2
8
  numpy==1.23.3
9
  Pillow==9.4.0
10
  realesrgan==0.3.0
11
- #lightning-api-access
 
 
 
 
 
12
  omegaconf==2.2.3
13
- requests>=2.26.0
14
  pytorch_lightning==1.7.6
15
- lightning-api-access
16
  scikit-image==0.19.2
17
  fonts
18
  font-roboto
@@ -20,7 +23,7 @@ timm==0.6.7
20
  piexif==1.1.3
21
  einops==0.4.1
22
  jsonmerge==1.8.0
23
- clean-fid
24
  resize-right==0.0.2
25
  torchdiffeq==0.2.3
26
  kornia==0.6.7
@@ -30,6 +33,6 @@ GitPython==3.1.27
30
  torchsde==0.2.5
31
  safetensors==0.2.7
32
  httpcore<=0.15
33
- fastapi==0.88.0
34
  git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b
35
  git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
 
1
+ # this one is for huggingface
2
  blendmodes==2022
3
  transformers==4.25.1
4
  accelerate==0.12.0
 
8
  numpy==1.23.3
9
  Pillow==9.4.0
10
  realesrgan==0.3.0
11
+ # !!!!option1: if you use huggingface, you should use the following lines
12
+ # !!!!option2: if you use lightning ai, you should comment the following lines
13
+ torch==1.13.1+cu117
14
+ --extra-index-url https://download.pytorch.org/whl/cu117
15
+ torchvision==0.14.1+cu117
16
+ --extra-index-url https://download.pytorch.org/whl/cu117
17
  omegaconf==2.2.3
 
18
  pytorch_lightning==1.7.6
 
19
  scikit-image==0.19.2
20
  fonts
21
  font-roboto
 
23
  piexif==1.1.3
24
  einops==0.4.1
25
  jsonmerge==1.8.0
26
+ clean-fid==0.1.29
27
  resize-right==0.0.2
28
  torchdiffeq==0.2.3
29
  kornia==0.6.7
 
33
  torchsde==0.2.5
34
  safetensors==0.2.7
35
  httpcore<=0.15
36
+ fastapi==0.90.1
37
  git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b
38
  git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
requirements_hugging.txt → requirements_lightning.txt RENAMED
@@ -1,4 +1,4 @@
1
- # this one is for huggingface
2
  blendmodes==2022
3
  transformers==4.25.1
4
  accelerate==0.12.0
@@ -8,14 +8,11 @@ gradio==3.16.2
8
  numpy==1.23.3
9
  Pillow==9.4.0
10
  realesrgan==0.3.0
11
- # !!!!option1: if you use huggingface, you should use the following lines
12
- # !!!!option2: if you use lightning ai, you should comment the following lines
13
- torch==1.13.1+cu117
14
- --extra-index-url https://download.pytorch.org/whl/cu117
15
- torchvision==0.14.1+cu117
16
- --extra-index-url https://download.pytorch.org/whl/cu117
17
  omegaconf==2.2.3
 
18
  pytorch_lightning==1.7.6
 
19
  scikit-image==0.19.2
20
  fonts
21
  font-roboto
@@ -23,7 +20,7 @@ timm==0.6.7
23
  piexif==1.1.3
24
  einops==0.4.1
25
  jsonmerge==1.8.0
26
- clean-fid==0.1.29
27
  resize-right==0.0.2
28
  torchdiffeq==0.2.3
29
  kornia==0.6.7
@@ -33,6 +30,6 @@ GitPython==3.1.27
33
  torchsde==0.2.5
34
  safetensors==0.2.7
35
  httpcore<=0.15
36
- fastapi==0.90.1
37
  git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b
38
  git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
 
1
+ # this one is for lightning.ai
2
  blendmodes==2022
3
  transformers==4.25.1
4
  accelerate==0.12.0
 
8
  numpy==1.23.3
9
  Pillow==9.4.0
10
  realesrgan==0.3.0
11
+ #lightning-api-access
 
 
 
 
 
12
  omegaconf==2.2.3
13
+ requests>=2.26.0
14
  pytorch_lightning==1.7.6
15
+ lightning-api-access
16
  scikit-image==0.19.2
17
  fonts
18
  font-roboto
 
20
  piexif==1.1.3
21
  einops==0.4.1
22
  jsonmerge==1.8.0
23
+ clean-fid
24
  resize-right==0.0.2
25
  torchdiffeq==0.2.3
26
  kornia==0.6.7
 
30
  torchsde==0.2.5
31
  safetensors==0.2.7
32
  httpcore<=0.15
33
+ fastapi==0.88.0
34
  git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b
35
  git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1