This guide walks you through setting up the LeRobot training environment on a DigitalOcean (DO) instance equipped with AMD MI300x GPUs and ROCm.
- Access to DO instance AMD Mi300x GPU
- Verify ROCm and GPU availability:
rocm-smi
| export GOPATH=$HOME/go | |
| export GOBIN=$GOPATH/bin | |
| export PATH=$PATH:$GOPATH/bin | |
| export GOROOT=/usr/local/go | |
| export PATH=$PATH:$GOROOT/bin |
| # Commit code for the first time | |
| git init | |
| git remote add origin https://github.com/ichbinblau/tfrecord_generator.git | |
| git add . | |
| git cm -s "initial commit" | |
| git push origin master | |
| # Checkout code | |
| git clone https://github.com/otcshare/smarthome-web-portal | |
| git checkout <branch_name> |
| host github.com | |
| user git | |
| hostname ssh.github.com | |
| port 443 | |
| proxycommand socat - PROXY:<hostname>:%h:%p,proxyport=<port> |