[Test][LoRA] Speed up the LoRA test job (#52331)
Signed-off-by: Stefan Koncarevic <stefan.koncarevic@amd.com>
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user