Skip to content

Commit b415f3f

Browse files
committed
Standardize module naming in requirements.txt files
Pip normalizes all package names which shouldn't have any errors when installing packages e.g., tensorflow_hub and tensorflow-hub is treated as the same and will install tensorflow-hub, however if users install using 'conda install' it will encounter module not found errors as conda does not normalize module package names. This change is also to standardize module names in requirements.txt files to be the same as the names in pip repositories Signed-off-by: Lim, Lukaz Wei Hwang <[email protected]>
1 parent 5c2fab8 commit b415f3f

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
ipykernel
2-
matplotlib
3-
sentence_transformers
4-
transformers
5-
datasets
6-
accelerate
7-
wordcloud
8-
spacy
9-
jinja2
1+
ipykernel
2+
matplotlib
3+
sentence-transformers
4+
transformers
5+
datasets
6+
accelerate
7+
wordcloud
8+
spacy
9+
jinja2
1010
nltk
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
notebook
22
Pillow
3-
tensorflow_hub==0.16
3+
tensorflow-hub==0.16
44
requests
55
py-cpuinfo
66

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
neural_compressor==2.4.1
1+
neural-compressor==2.4.1
22
Pillow
33
py-cpuinfo
44
requests
5-
tensorflow_hub==0.16.0
5+
tensorflow-hub==0.16.0
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
accelerate==0.29.3
22
datasets==2.09.0
33
intel-extension-for-transformers==1.4.1
4-
neural_speed==1.0
4+
neural-speed==1.0
55
peft==0.10.0
66
sentencepiece
77
transformers==4.38.0
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
neural_compressor==2.1
1+
neural-compressor==2.1
22
transformers>=4.27.4
3-
datasets>=2.4.0
3+
datasets>=2.4.0
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
tensorflow_hub
1+
tensorflow-hub
22
ipykernel
33
matplotlib

0 commit comments

Comments
 (0)