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

start.sh 400 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
13
14
15
16
17
18
  1. #! /bin/sh
  2. TAG=ds4se
  3. if [ $# -eq 1 ]; then
  4. if [ "$1" = "--build" ]; then
  5. # Build the docker container
  6. docker build -t $TAG .
  7. fi
  8. fi
  9. # Run the docker container. Add additional -v if
  10. # you need to mount more volumes into the container
  11. # Also, make sure to edit the ports to fix your needs.
  12. docker run -d --runtime=nvidia -v $(pwd):/tf/main \
  13. -v /mnt/data/ds4se:/tf/data \
  14. -p 8004:8888 $TAG
Tip!

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

Comments

Loading...