Skip to content

Commit 5e5ac0a

Browse files
committed
fix: update tests_eagle.py; disable eval for offline
Signed-off-by: h-guo18 <[email protected]>
1 parent 115b145 commit 5e5ac0a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/speculative_decoding/launch_train.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if [[ "$OFFLINE_DATA_PATH" != "" ]]; then
129129
echo "Offline data path $OFFLINE_DATA_PATH does not exist or is not a directory."
130130
exit 1
131131
else
132-
OFFLINE_TRAINING_ARGS="--offline-data-path $OFFLINE_DATA_PATH"
132+
OFFLINE_TRAINING_ARGS="--offline-data-path $OFFLINE_DATA_PATH --ar_validate_steps -1"
133133
fi
134134
else
135135
OFFLINE_TRAINING_ARGS=""

tests/examples/speculative_decoding/test_eagle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ def test_llama_eagle3(tiny_llama_path, num_gpus, tiny_daring_anteater_path, tmp_
3636

3737
run_example_command(
3838
[
39-
"./launch.sh",
39+
"./launch_train.sh",
4040
"--model", tiny_llama_path,
4141
"--data", tiny_daring_anteater_path,
4242
"--num_epochs", "1",
4343
"--lr", "1e-5",
44-
"--do_eval", "False",
4544
"--num_gpu", str(num_gpus),
4645
"--mode", "eagle3",
4746
"--eagle_config", str(config_file),

0 commit comments

Comments
 (0)