Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

run-docker-gpu.sh 334 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
  1. #!/bin/bash
  2. GPU="${1}"
  3. docker run --detach \
  4. --name "graph-barlow-twins-$(whoami)" \
  5. --volume "${PWD}:/app" \
  6. --gpus "device=${GPU}" \
  7. --ipc=host \
  8. --publish "8888:8888" \
  9. --publish "6006:6006" \
  10. graph_barlow_twins:latest /bin/bash -c "trap : TERM INT; sleep infinity & wait"
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...