Skip to content

Commit

Permalink
fix(cases): add VOCAB_SIZE (#376)
Browse files Browse the repository at this point in the history
Co-authored-by: kkscilife <wangmengke@pjlab.org.cn>
  • Loading branch information
kkscilife and kkscilife authored Nov 28, 2024
1 parent 6e7163c commit 86c3b6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_training/test_forward_output_no_fa.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
TOTAL_STEPS = 1
config = Config(
dict(
VOCAB_SIZE=92544,
VOCAB_SIZE=103168,
parallel=dict(
zero1=dict(size=-1),
tensor=dict(size=1, mode="mtp"),
Expand Down
1 change: 1 addition & 0 deletions tests/test_training/test_load_ckpt_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
temp_folder = "temp_ckpt_for_check_loss"
config = Config(
dict(
VOCAB_SIZE=103168,
parallel=dict(
zero1=dict(size=-1, fsdp=False),
pipeline=dict(size=1, interleaved_overlap=False),
Expand Down
1 change: 1 addition & 0 deletions tests/test_training/test_swap_nb_loss_and_gradnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
TOTAL_STEPS = 300
config = Config(
dict(
VOCAB_SIZE=103168,
parallel=dict(
zero1=dict(size=-1),
tensor=dict(size=1, mode="mtp"),
Expand Down

0 comments on commit 86c3b6c

Please sign in to comment.