- Ubuntu 18.04 Bionic
- CUDA 10.0
- Swift 5.0
- TensorFlow for Swift v0.4
- Follow nvidia-docker instructions
- From within the directory of the Dockerfile execute the following command to build the image
docker build -t swift_tf_cuda_docker .
- To run with bash and a shared volume
docker run --runtime=nvidia -v <host_path>:<container_path> -ti swift_tf_cuda_docker:latest bash
- Go to the repository page bryankp/swift_tf_cuda
- Pull the latest image
docker pull bryankp/swift_tf_cuda:latest
- To run with bash and a shared volume
docker run --runtime=nvidia -v <host_path>:<container_path> -ti bryankp/swift_tf_cuda_docker:latest bash
- Official Tensorflow swift-models
- TensorFlow for Swift
- The initial run of a TF program will take a decent amount time to start this is normal
- For troubleshooting issues see the TF installation guide and nvidia-docker instructions