Skip to content

Commit bc3ec64

Browse files
authored
Merge branch 'main' into fix-gkd-liger-mem-spike
2 parents da1ba97 + a0df357 commit bc3ec64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_gkd_trainer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import os
1616

17+
import pytest
1718
import torch
1819
import torch.nn.functional as F
1920
from datasets import load_dataset
@@ -246,6 +247,7 @@ def test_gkd_trainer(self):
246247
self.assertIn("model.safetensors", os.listdir(self.tmp_dir + "/checkpoint-2"))
247248

248249
@require_liger_kernel
250+
@pytest.mark.xfail(reason="Computing the Liger loss spikes GPU memory usage, causing the test to run OOM.")
249251
def test_gkd_trainer_with_liger(self):
250252
training_args = GKDConfig(
251253
output_dir=self.tmp_dir,

0 commit comments

Comments
 (0)