Skip to content

Commit c5549ba

Browse files
authored
fixed the workflow on CI runner (#276)
* fixed the workflow on CI runner * polish * polish * polish * polish * polish * polish * polish * polish
1 parent 8731d2c commit c5549ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
pip install -e .
3030
3131
- name: Run test
32-
timeout-minutes: 10
32+
timeout-minutes: 30
3333
run: |
34-
python tests/ci/gpu_lock_exec.py --devices 6,7 python -m unittest discover -s ./tests -p "test_*.py"
34+
python -m unittest discover -s ./tests -p "test_*.py" -v

tests/test_target_modeling/test_auto_target_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def test_auto_target_model(self):
2424

2525
set_seed(42)
2626
hf_model = HFLlamaForCausalLM.from_pretrained(
27-
"dphn/Dolphin3.0-Llama3.1-8B", torch_dtype=torch.bfloat16
27+
"unsloth/Llama-3.2-1B", torch_dtype=torch.bfloat16
2828
).cuda()
2929
sf_model = SFLlamaForCausalLM.from_pretrained(
30-
"dphn/Dolphin3.0-Llama3.1-8B", torch_dtype=torch.bfloat16
30+
"unsloth/Llama-3.2-1B", torch_dtype=torch.bfloat16
3131
).cuda()
3232

3333
# create data

0 commit comments

Comments
 (0)