Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 2, 2023
1 parent 7678d14 commit beee06c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/unittest/linux/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ printf "* Installing tensordict\n"
python setup.py develop

# install torchsnapshot nightly
python -m pip install git+https://github.com/pytorch/torchsnapshot --no-build-isolation

if [[ "$TORCH_VERSION" == "nightly" ]]; then
python -m pip install git+https://github.com/pytorch/torchsnapshot --no-build-isolation
elif [[ "$TORCH_VERSION" == "stable" ]]; then
python -m pip install torchsnapshot
fi
# smoke test
python -c "import functorch;import torchsnapshot"

0 comments on commit beee06c

Please sign in to comment.