Skip to content

Commit

Permalink
[python3-facenet-pytorch-pip] cpu version of torch in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Jul 2, 2024
1 parent 558c5b9 commit 3e6b4cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions python3-facenet-pytorch-pip/install.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#! /usr/bin/env bash

args=()
if [[ "${CI}" == true ]]
then
args+=("--extra-index-url" "https://download.pytorch.org/whl/cpu")
fi

tue-install-pip3 facenet-pytorch "${args{@]}"
2 changes: 0 additions & 2 deletions python3-facenet-pytorch-pip/install.yaml

This file was deleted.

0 comments on commit 3e6b4cc

Please sign in to comment.