Skip to content

Commit 45e59f7

Browse files
⌨️ Pin num2words (#4094)
Co-authored-by: sergiopaniego <sergiopaniegoblanco@gmail.com>
1 parent 4bd4acf commit 45e59f7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/scripts/grpo_vlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
--log_completions
4747
4848
# For HuggingFaceTB/SmolVLM2-2.2B-Instruct
49-
pip install num2words
49+
pip install num2words==0.5.14
5050
5151
accelerate launch \
5252
--config_file examples/accelerate_configs/deepspeed_zero3.yaml \

examples/scripts/gspo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
pip install math_verify
2828
2929
# For Qwen/Qwen3-0.6B
30-
pip install num2words
30+
pip install num2words==0.5.14
3131
3232
accelerate launch \
3333
--config_file examples/accelerate_configs/deepspeed_zero3.yaml \

examples/scripts/online_dpo_vlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
--gradient_accumulation_steps 2
4848
4949
# For HuggingFaceTB/SmolVLM2-2.2B-Instruct
50-
pip install num2words
50+
pip install num2words==0.5.14
5151
5252
accelerate launch \
5353
--config_file examples/accelerate_configs/deepspeed_zero3.yaml \

examples/scripts/rloo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# ///
2626

2727
"""
28-
pip install math_verify num2words peft trackio vllm
28+
pip install math_verify num2words==0.5.14 peft trackio vllm
2929
export TRACKIO_PROJECT="RLOO-NuminaMath-TIR"
3030
accelerate launch --config_file examples/accelerate_configs/deepspeed_zero3.yaml examples/scripts/rloo.py
3131
"""

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ vllm =
7373
vlm =
7474
Pillow
7575
torchvision
76-
num2words
76+
num2words==0.5.14
7777
dev =
7878
%(bco)s
7979
%(deepspeed)s

0 commit comments

Comments
 (0)