Skip to content

Commit

Permalink
Updated gemma_2b_it CI (huggingface#1561)
Browse files Browse the repository at this point in the history
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
  • Loading branch information
2 people authored and Liangyx2 committed Jan 20, 2025
1 parent 0f2767b commit 142fbb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/baselines/gemma_2b_it.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
"--dataset_config_name wikitext-2-raw-v1",
"--use_hpu_graphs_for_inference"
]
},
"deepspeed": {
"learning_rate": 8e-4,
"train_batch_size": 4,
"perplexity": 924.062,
"train_runtime": 75.518,
"train_samples_per_second": 81.097,
"extra_arguments": [
"--dataset_config_name wikitext-2-raw-v1",
"--use_hpu_graphs_for_inference",
"--deepspeed tests/configs/deepspeed_zero_2.json"
]
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ def to_test(
return False
elif eager_mode and model_name not in models_measured_on_eager_mode:
return False
elif "gemma" in model_name and not IS_GAUDI2:
return False
elif model_name not in models_with_specific_rules and not deepspeed:
return True
elif model_name == "gpt2-xl" and deepspeed:
Expand Down

0 comments on commit 142fbb5

Please sign in to comment.