Skip to content

Instantly share code, notes, and snippets.

@sorashido
Last active October 6, 2018 17:23
Show Gist options
  • Save sorashido/58ecba3d93f9c10395c35bf11f4df57c to your computer and use it in GitHub Desktop.
Save sorashido/58ecba3d93f9c10395c35bf11f4df57c to your computer and use it in GitHub Desktop.
pytorch-dockerfile
help:
@cat Makefile
NAME="pytorch"
SRC?="$(shell pwd)/:/app" #src directory
DOCKER=GPU=$(GPU) nvidia-docker
bash:
$(DOCKER) run -it -v $(SRC) --name $(NAME) -p 8080:8080 anibali/pytorch:cuda-9.0 bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment