mono repo structure

This commit is contained in:
Richard Guo
2023-05-01 15:45:23 -04:00
parent b00d338c1e
commit 02d1bdb0be
53 changed files with 20 additions and 254 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export WORKER_IP=$1
N_GPUS=8
# create dir if doesn't exist
sudo mkdir -p /job
printf "localhost slots=$N_GPUS\n$WORKER_IP slots=$N_GPUS" | sudo tee /job/hostfile
echo /job/hostfile