Skip to content

Commit

Permalink
Style fix: remove extra tabs and add missing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscilloscope98 committed Sep 9, 2022
1 parent de9d60b commit 01a2dc9
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/nano_howto_guides_tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Nano Unit Tests for How-To Guides Notebooks

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
Expand Down Expand Up @@ -38,35 +39,35 @@ jobs:
- name: Run unit tests for Inference PyTorch (ONNXRuntime) how-to guides
shell: bash
run: |
$CONDA/bin/conda create -n howto-guides-inference-pytorch-onnx -y python==3.7.10 setuptools=58.0.4
source $CONDA/bin/activate howto-guides-inference-pytorch-onnx
$CONDA/bin/conda info
bash python/nano/dev/build_and_install.sh linux default false pytorch
source bigdl-nano-init
pip install pytest nbmake
pip install neural-compressor==1.11.0
pip install onnx onnxruntime onnxruntime-extensions
bash python/nano/tutorial/notebook/inference/pytorch/run-nano-howto-guides-inference-pytorch-tests.sh onnx
source $CONDA/bin/deactivate
$CONDA/bin/conda remove -n howto-guides-inference-pytorch-onnx --all
$CONDA/bin/conda create -n howto-guides-inference-pytorch-onnx -y python==3.7.10 setuptools=58.0.4
source $CONDA/bin/activate howto-guides-inference-pytorch-onnx
$CONDA/bin/conda info
bash python/nano/dev/build_and_install.sh linux default false pytorch
source bigdl-nano-init
pip install pytest nbmake
pip install neural-compressor==1.11.0
pip install onnx onnxruntime onnxruntime-extensions
bash python/nano/tutorial/notebook/inference/pytorch/run-nano-howto-guides-inference-pytorch-tests.sh onnx
source $CONDA/bin/deactivate
$CONDA/bin/conda remove -n howto-guides-inference-pytorch-onnx --all
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}

- name: Run unit tests for Inference PyTorch (OpenVINO) how-to guides
shell: bash
run: |
$CONDA/bin/conda create -n howto-guides-inference-pytorch-openvino -y python==3.7.10 setuptools=58.0.4
source $CONDA/bin/activate howto-guides-inference-pytorch-openvino
$CONDA/bin/conda info
bash python/nano/dev/build_and_install.sh linux default false pytorch
source bigdl-nano-init
pip install pytest nbmake
pip install ipykernel==5.5.6
pip install openvino-dev
bash python/nano/tutorial/notebook/inference/pytorch/run-nano-howto-guides-inference-pytorch-tests.sh openvino
source $CONDA/bin/deactivate
$CONDA/bin/conda remove -n howto-guides-inference-pytorch-openvino --all
$CONDA/bin/conda create -n howto-guides-inference-pytorch-openvino -y python==3.7.10 setuptools=58.0.4
source $CONDA/bin/activate howto-guides-inference-pytorch-openvino
$CONDA/bin/conda info
bash python/nano/dev/build_and_install.sh linux default false pytorch
source bigdl-nano-init
pip install pytest nbmake
pip install ipykernel==5.5.6
pip install openvino-dev
bash python/nano/tutorial/notebook/inference/pytorch/run-nano-howto-guides-inference-pytorch-tests.sh openvino
source $CONDA/bin/deactivate
$CONDA/bin/conda remove -n howto-guides-inference-pytorch-openvino --all
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}


0 comments on commit 01a2dc9

Please sign in to comment.