Skip to content

Commit

Permalink
fix input use on check-torch action
Browse files Browse the repository at this point in the history
  • Loading branch information
robandpdx committed May 3, 2024
1 parent 696c312 commit f1576fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/check-torch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ runs:
which python
python -c 'import torch; print("Torch version:", torch.__version__)'
python -c 'import torch; assert torch.__version__ > ( <<parameters.major>>, <<parameters.minor>>), "wrong torch version"'
python -c 'import torch; assert torch.__version__ > ( ${{ inputs.major }}, ${{ inputs.minor }}), "wrong torch version"'
python -m torch.utils.collect_env
wget -O ~/venv/check_version.py https://raw.githubusercontent.com/min-xu-ai/check_verion/main/check_version.py

0 comments on commit f1576fc

Please sign in to comment.