forked from volcengine/verl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incorporate fsdp ckpt loading func into main_generation (volcengine#298)
- Loading branch information
Showing
5 changed files
with
93 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export HYDRA_FULL_ERROR=1 | ||
export NCCL_DEBUG='WARN' | ||
export TOKENIZERS_PARALLELISM='true' | ||
|
||
export HF_HUB_OFFLINE=1 | ||
export HF_DATASETS_OFFLINE=1 | ||
|
||
export CUDA_VISIBLE_DEVICES=0 | ||
|
||
python3 -m verl.trainer.main_generation \ | ||
trainer.n_gpus_per_node=1 \ | ||
data.path='/data/countdown/test.parquet' \ | ||
data.output_path='out_test.parquet' \ | ||
data.batch_size=8 \ | ||
data.n_samples=1 \ | ||
model.path='Qwen/Qwen2.5-3B' \ | ||
model.fsdp_model_path='/checkpoints/grpo-countdown-qwen2.5-3b/global_step_200/actor' \ | ||
rollout.do_sample=False \ | ||
rollout.response_length=1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters