Skip to content

Instantly share code, notes, and snippets.

@sgugger
Created April 16, 2019 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sgugger/11c0e1c8e8f3271cc6702f55cfeda73f to your computer and use it in GitHub Desktop.
Save sgugger/11c0e1c8e8f3271cc6702f55cfeda73f to your computer and use it in GitHub Desktop.
Updating S4TF
#!/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