We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da1ba97 + a0df357 commit bc3ec64Copy full SHA for bc3ec64
tests/test_gkd_trainer.py
@@ -14,6 +14,7 @@
14
15
import os
16
17
+import pytest
18
import torch
19
import torch.nn.functional as F
20
from datasets import load_dataset
@@ -246,6 +247,7 @@ def test_gkd_trainer(self):
246
247
self.assertIn("model.safetensors", os.listdir(self.tmp_dir + "/checkpoint-2"))
248
249
@require_liger_kernel
250
+ @pytest.mark.xfail(reason="Computing the Liger loss spikes GPU memory usage, causing the test to run OOM.")
251
def test_gkd_trainer_with_liger(self):
252
training_args = GKDConfig(
253
output_dir=self.tmp_dir,
0 commit comments