[Test][LoRA] Speed up the LoRA test job (#52331)

Signed-off-by: Stefan Koncarevic <stefan.koncarevic@amd.com>
This commit is contained in:
stefankoncarevic
2026-08-14 12:08:41 -05:00
committed by GitHub
parent e078a2238a
commit 83ded8d839
4 changed files with 104 additions and 126 deletions
+12 -7
View File
@@ -56,14 +56,19 @@ TOLERANCES = {
torch.bfloat16: (3e-2, 2e-2),
}
pytestmark = pytest.mark.skipif(
not (
current_platform.is_cuda_alike()
or current_platform.is_cpu()
or current_platform.is_xpu()
pytestmark = [
pytest.mark.skipif(
not (
current_platform.is_cuda_alike()
or current_platform.is_cpu()
or current_platform.is_xpu()
),
reason="Backend not supported",
),
reason="Backend not supported",
)
# Tests here either take dist_init, which tears the distributed environment
# down itself, or never build one, so the global cleanup only repeats it.
pytest.mark.skip_global_cleanup,
]
DEVICE_TYPE = current_platform.device_type
DEVICES = (