Skip to content

Commit

Permalink
Fix torch version
Browse files Browse the repository at this point in the history
  • Loading branch information
pkufool committed Aug 24, 2023
1 parent 443544d commit cbc75ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/scripts/install_torch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

torch=$TORCH_VERSION
cuda=$CUDA_VERSION
echo "torch version: $torch"
echo "cuda version: $cuda"

case ${torch} in
1.5.*)
case ${cuda} in
Expand Down Expand Up @@ -127,7 +128,7 @@ case ${torch} in
;;
esac
;;
1.12.1)
1.12.*)
case ${cuda} in
10.2)
package="torch==${torch}"
Expand Down

0 comments on commit cbc75ce

Please sign in to comment.