Skip to content

Commit

Permalink
Update dependencies for image_recognition and nlp models
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Jul 1, 2024
1 parent 145472a commit c05d2c6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/scripts/models/env_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ source .azure-pipelines/scripts/change_color.sh
$BOLD_YELLOW && echo "====== install requirements ======" && $RESET
cd "/neural-compressor/examples/$model_src_dir"
pip install -r requirements.txt
pip list
2 changes: 1 addition & 1 deletion .azure-pipelines/template/model-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ steps:
- script: |
docker exec ${{ parameters.modelContainerName }} bash -c "cd /neural-compressor/.azure-pipelines/scripts/models \
&& bash ${{ parameters.script_path }} --model=${{ parameters.modelName }} --stage='quantize'"
displayName: Qunatize
displayName: Quantize
- script: |
docker exec ${{ parameters.modelContainerName }} bash -c "cd /neural-compressor/.azure-pipelines/scripts/models \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ torch
torchvision
onnxruntime-extensions
pillow>=8.2.0 # not directly required, pinned by Snyk to avoid a vulnerability
opencv-python
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ onnxruntime
coloredlogs
sympy
onnxruntime-extensions
scikit-learn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ transformers
onnx
onnxruntime
onnxruntime-extensions
opencv-python
datasets
optimum
lm-eval==0.4.2

0 comments on commit c05d2c6

Please sign in to comment.