Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training on a GPU cluster #84

Open
budzianowski opened this issue May 7, 2024 · 0 comments
Open

Training on a GPU cluster #84

budzianowski opened this issue May 7, 2024 · 0 comments

Comments

@budzianowski
Copy link

budzianowski commented May 7, 2024

Hi team, thank you for sharing this fantastic work. I initialize the cluster with jax.distributed.initialize()
and run below command:

#!/bin/bash
#SBATCH --job-name=octo_train # Job name
#SBATCH --nodes=2
#SBATCH --ntasks=16
#SBATCH --ntasks-per-node=8 # Number of nodes
#SBATCH --nodelist=compute-permanent-node-493,compute-permanent-node-580
#SBATCH --gpus-per-node=8 # Request 1 GPU (adjust as needed)
#SBATCH --time=12:00:00 # Time limit hrs:min:sec
srun python scripts/finetune.py --config.pretrained_path=hf://rail-berkeley/octo-small --debug

and running into (I suppose data loader issue) AssertionError: horizon must be <= max_horizon (it's 256 vs 10) which tells me the batch is not split. Have you experienced a similar issue or trained only on tpus before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant