Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update test whl workflow #1173

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test pip install
name: Test whl install
on:
workflow_dispatch: # Allow manual triggers
inputs:
Expand Down Expand Up @@ -37,22 +37,3 @@ jobs:
pip install $whl_file
pip list
python -c 'import model_compression_toolkit; print(model_compression_toolkit.__version__)'
- name: Remove MCT code
run: |
rm -rf model_compression_toolkit
- name: Install TF
run: |
pip install tensorflow==2.15.*
- name: Run Commom Tests
run: |
python -m unittest discover tests/common_tests --verbose
- name: Run Tensorflow Tests
run: |
python -m unittest discover tests/keras_tests --verbose
- name: Uninstall TF and install torch
run: |
pip uninstall tensorflow -y
pip install torch torchvision onnx onnxruntime onnxruntime-extensions
- name: Run Pytorch Tests
run: |
python -m unittest discover tests/pytorch_tests --verbose
Loading