Skip to content

Commit

Permalink
Update TensorFlow version to resolve CVEs (#886)
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue authored May 16, 2023
1 parent ad907ab commit 7abe32e
Show file tree
Hide file tree
Showing 75 changed files with 76 additions and 55 deletions.
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example1/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example3/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example4/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example5/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example6/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
2 changes: 1 addition & 1 deletion examples/helloworld/tf_example7/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tensorflow
intel-tensorflow>=2.12.0
2 changes: 2 additions & 0 deletions examples/helloworld/tf_example7/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from neural_compressor.data import Datasets
from neural_compressor.quantization import fit


def main():

# Built-in dummy dataset
Expand All @@ -21,5 +22,6 @@ def main():
eval_dataloader=dataloader,
eval_metric=top1)


if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tqdm
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow <= 2.11.0
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ onnx
onnxruntime
onnxruntime-extensions; python_version < '3.10'
transformers
accelerate
tensorboard
numpy==1.23.5
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ onnx
onnxruntime
onnxruntime-extensions; python_version < '3.10'
transformers
accelerate
tensorboard
numpy==1.23.5
datasets >= 1.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
onnxruntime-extensions; python_version < '3.10'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
onnxruntime-extensions; python_version < '3.10'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
onnx
onnxruntime
intel-tensorflow==2.10.0
intel-tensorflow==2.12.0
torch
onnxruntime-extensions; python_version < '3.10'
pillow>=8.1.0 # not directly required, pinned by Snyk to avoid a vulnerability
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
onnx
onnxruntime
intel-tensorflow==2.10.0
intel-tensorflow==2.12.0
tf2onnx
torch
onnxruntime-extensions; python_version < '3.10'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
onnx
onnxruntime
intel-tensorflow==2.10.0
intel-tensorflow==2.12.0
tf2onnx
torch
onnxruntime-extensions; python_version < '3.10'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch
transformers
accelerate
onnx
onnxruntime
coloredlogs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ scipy
scikit-learn
Keras-Preprocessing
transformers>=4.16.0
accelerate
torch>=1.9.0
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Keras-Preprocessing
onnx
onnxruntime
transformers>=4.16.0
accelerate
torch>=1.9.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
neural-compressor
transformers>=4.16.0
accelerate
datasets>=1.18.0
sentencepiece!=0.1.92
protobuf<=3.20.3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy
matplotlib
tensorflow
tensorflow>=2.11.1
tensorboard
terminaltables
pillow>=8.2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ seaborn>=0.11.0
# nvidia-pyindex # TensorRT export
# nvidia-tensorrt # TensorRT export
# scikit-learn<=1.1.2 # CoreML quantization
# tensorflow>=2.4.1 # TF exports (-cpu, -aarch64, -macos)
# tensorflow>=2.11.1 # TF exports (-cpu, -aarch64, -macos)
# tensorflowjs>=3.9.0 # TF.js export
# openvino-dev # OpenVINO export

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
tf2onnx
onnx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
tf2onnx
onnx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
tf2onnx
onnx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
tf2onnx
onnx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
intel-tensorflow
intel-tensorflow>=2.12.0
neural-compressor
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ scipy>=1.9.3
sklearn==0.0
tokenizers==0.13.1
transformers==4.23.1
intel-tensorflow>=2.12.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
intel-tensorflow
intel-tensorflow>=2.12.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
tf2onnx
onnx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow
tensorflow>=2.11.1
intel-extension-for-tensorflow[cpu]
tf2onnx
onnx
Expand Down
Loading

0 comments on commit 7abe32e

Please sign in to comment.