mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-27 15:57:16 +00:00
Update test_fp16_torch.py
This commit is contained in:
parent
3491a9f7e3
commit
ca914147eb
@ -1,4 +1,3 @@
|
|||||||
import pytest
|
|
||||||
import torch
|
import torch
|
||||||
from torch.optim import Adam
|
from torch.optim import Adam
|
||||||
|
|
||||||
@ -36,7 +35,6 @@ def run_torch_amp(rank, world_size, port):
|
|||||||
del model, optimizer, criterion, data, output, mixed_precision
|
del model, optimizer, criterion, data, output, mixed_precision
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip("test ci.")
|
|
||||||
@rerun_if_address_is_in_use()
|
@rerun_if_address_is_in_use()
|
||||||
def test_torch_ddp_plugin():
|
def test_torch_ddp_plugin():
|
||||||
spawn(run_torch_amp, 1)
|
spawn(run_torch_amp, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user