Skip to content

Conversation

@Vivicai1005
Copy link
Contributor

This PR updates the training script scripts/run-qwen3-4B-amd.sh with two key changes:

  1. Update Default Paths: Changed the default SLIME_DIR, MODEL_DIR, and DATA_DIR to /root to align with the actual model download location.

  2. Disable Memory Offloading: Explicitly set --no-offload-train and --no-offload-rollout. Since the AMD MI300X GPU provides 192GB of VRAM, the model fits entirely in memory without offloading. Disabling this avoids the memory leak issue caused by frequent process group destruction/reloading on the AMD backend, while also accelerating training by eliminating overhead from host-device memory transfers.

cc: @zhuzilin

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

Successfully merging this pull request may close these issues.

1 participant