Skip to content

Commit 6cce12f

Browse files
authored
Merge pull request #190 from chairc/dev-agent
fix(agent): Security vulnerabilities in pip packages.
2 parents e437fb9 + 704fda9 commit 6cce12f

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ The following packages are required.
9696

9797
```yaml
9898
coloredlogs==15.0.1
99-
gradio>=5.31.0
99+
gradio>=6.0.0
100100
matplotlib==3.7.1
101101
numpy>=1.25.0
102-
Pillow==10.3.0
102+
Pillow>=12.2.0
103103
Requests>=2.32.4
104104
scikit-image==0.22.0
105105
torch_summary==1.4.5
@@ -108,7 +108,7 @@ pytorch_fid==0.3.0
108108
fastapi==0.115.6
109109
tensorboard==2.19.0
110110
tensorboardX==2.6.1
111-
transformers==4.56.1
111+
transformers>=5.0.0
112112

113113
# If you want to use flash attention, please install flash-attn.
114114
# Compile your own environment: pip install flash-attn --no-build-isolation

README_zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ pip install iddm
9696

9797
```yaml
9898
coloredlogs==15.0.1
99-
gradio>=5.31.0
99+
gradio>=6.0.0
100100
matplotlib==3.7.1
101101
numpy>=1.25.0
102-
Pillow==10.3.0
102+
Pillow>=12.2.0
103103
Requests>=2.32.4
104104
scikit-image==0.22.0
105105
torch_summary==1.4.5
@@ -108,7 +108,7 @@ pytorch_fid==0.3.0
108108
fastapi==0.115.6
109109
tensorboard==2.19.0
110110
tensorboardX==2.6.1
111-
transformers==4.56.1
111+
transformers>=5.0.0
112112

113113
# 如果您想使用 flash attention,请安装 flash-attn
114114
# 编译自己的环境:pip install flash-attn --no-build-isolation

docs/en-US/01_get_started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ The following packages are required.
2626

2727
```yaml
2828
coloredlogs==15.0.1
29-
gradio>=5.31.0
29+
gradio>=6.0.0
3030
matplotlib==3.7.1
3131
numpy>=1.25.0
32-
Pillow==10.3.0
32+
Pillow>=12.2.0
3333
Requests>=2.32.4
3434
scikit-image==0.22.0
3535
torch_summary==1.4.5
@@ -38,7 +38,7 @@ pytorch_fid==0.3.0
3838
fastapi==0.115.6
3939
tensorboard==2.19.0
4040
tensorboardX==2.6.1
41-
transformers==4.56.1
41+
transformers>=5.0.0
4242

4343
# If you want to use flash attention, please install flash-attn.
4444
# Compile your own environment: pip install flash-attn --no-build-isolation

docs/zh-Hans/01_快速开始.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ pip install iddm
2828

2929
```yaml
3030
coloredlogs==15.0.1
31-
gradio>=5.31.0
31+
gradio>=6.0.0
3232
matplotlib==3.7.1
3333
numpy>=1.25.0
34-
Pillow==10.3.0
34+
Pillow>=12.2.0
3535
Requests>=2.32.4
3636
scikit-image==0.22.0
3737
torch_summary==1.4.5
@@ -40,7 +40,7 @@ pytorch_fid==0.3.0
4040
fastapi==0.115.6
4141
tensorboard==2.19.0
4242
tensorboardX==2.6.1
43-
transformers==4.56.1
43+
transformers>=5.0.0
4444

4545
# 如果您想使用 flash attention,请安装 flash-attn
4646
# 编译自己的环境:pip install flash-attn --no-build-isolation

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
coloredlogs==15.0.1
2-
gradio>=5.31.0
2+
gradio>=6.0.0
33
matplotlib==3.7.1
44
numpy>=1.25.0
5-
Pillow==10.3.0
5+
Pillow>=12.2.0
66
Requests>=2.32.4
77
scikit-image==0.22.0
88
torch_summary==1.4.5
@@ -11,7 +11,7 @@ pytorch_fid==0.3.0
1111
fastapi==0.115.6
1212
tensorboard==2.19.0
1313
tensorboardX==2.6.1
14-
transformers==4.56.1
14+
transformers>=5.0.0
1515

1616
# If you want to use flash attention, please install flash-attn.
1717
# Compile your own environment: pip install flash-attn --no-build-isolation

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ def get_long_description():
3737
if __name__ == "__main__":
3838
package_list = [
3939
"coloredlogs==15.0.1",
40-
"gradio>=5.31.0",
40+
"gradio>=6.0.0",
4141
"matplotlib==3.7.1",
4242
"numpy>=1.25.0",
43-
"Pillow==10.3.0",
43+
"Pillow==12.2.0",
4444
"Requests>=2.32.4",
4545
"scikit-image==0.22.0",
4646
"torch_summary==1.4.5",
@@ -49,7 +49,7 @@ def get_long_description():
4949
"fastapi==0.115.6",
5050
"tensorboard==2.19.0",
5151
"tensorboardX==2.6.1",
52-
"transformers==4.56.1",
52+
"transformers==5.0.0",
5353
"torch>=1.10.0",
5454
"torchvision>=0.10.0"
5555
]

0 commit comments

Comments
 (0)