Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pkufool committed Sep 8, 2023
1 parent c2bbe38 commit 2cb1412
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-tests-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
torch: ["1.13.1"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
build_type: ["Release", "Debug"]
exclude:
- os: macos-latest
python-version: "3.11"

steps:
# refer to https://github.com/actions/checkout
Expand Down
7 changes: 5 additions & 2 deletions scripts/github_actions/install_torch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

torch=$TORCH_VERSION
cuda=$CUDA_VERSION
if [ $TORCH_VERSION != "" ] && [ $CUDA_VERSION != ""]; then
torch=$TORCH_VERSION
cuda=$CUDA_VERSION
fi

case ${torch} in
1.5.*)
case ${cuda} in
Expand Down

0 comments on commit 2cb1412

Please sign in to comment.