From f1576fc141c0d42bee303d2122faf7562e409ab2 Mon Sep 17 00:00:00 2001 From: Rob Anderson Date: Fri, 3 May 2024 14:21:46 -0600 Subject: [PATCH] fix input use on check-torch action --- .github/actions/check-torch/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check-torch/action.yml b/.github/actions/check-torch/action.yml index 3f1c0e36c5..e7ee97ce0a 100644 --- a/.github/actions/check-torch/action.yml +++ b/.github/actions/check-torch/action.yml @@ -16,6 +16,6 @@ runs: which python python -c 'import torch; print("Torch version:", torch.__version__)' - python -c 'import torch; assert torch.__version__ > ( <>, <>), "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