mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-14 13:42:12 +00:00
[hotfix] removed unused flag (#5242)
This commit is contained in:
@@ -7,11 +7,8 @@ import torch.distributed as dist
|
||||
|
||||
from .base_accelerator import BaseAccelerator
|
||||
|
||||
IS_NPU_AVAILABLE = False
|
||||
try:
|
||||
import torch_npu # noqa
|
||||
|
||||
IS_NPU_AVAILABLE = True
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user