Created
April 16, 2019 13:03
-
-
Save sgugger/11c0e1c8e8f3271cc6702f55cfeda73f to your computer and use it in GitHub Desktop.
Updating S4TF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
pushd ~/swift/ | |
rm -rf usr | |
popd | |
pushd ~/download/ | |
rm swift-tensorflow-DEVELOPMENT-cuda10.0-cudnn7-ubuntu18.04.tar.gz | |
wget https://storage.googleapis.com/s4tf-kokoro-artifact-testing/latest/swift-tensorflow-DEVELOPMENT-cuda10.0-cudnn7-ubuntu18.04.tar.gz | |
tar -xf swift-tensorflow-DEVELOPMENT-cuda10.0-cudnn7-ubuntu18.04.tar.gz | |
mv usr/ ~/swift/ | |
mv ~/swift/usr/lib/python3.6 ~/swift/usr/lib/python3.7 | |
popd | |
pushd ~/git/swift-jupyter | |
git pull | |
python register.py --sys-prefix --swift-toolchain ~/swift/ | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment