mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-10-23 07:39:31 +00:00
[devops] fix extention building (#5427)
This commit is contained in:
2
setup.py
2
setup.py
@@ -70,7 +70,7 @@ def get_version() -> str:
|
||||
if BUILD_EXT:
|
||||
if not TORCH_AVAILABLE:
|
||||
raise ModuleNotFoundError(
|
||||
"[extension] PyTorch is not found while CUDA_EXT=1. You need to install PyTorch first in order to build CUDA extensions"
|
||||
"[extension] PyTorch is not found while BUILD_EXT=1. You need to install PyTorch first in order to build CUDA extensions"
|
||||
)
|
||||
|
||||
from extensions import ALL_EXTENSIONS
|
||||
|
Reference in New Issue
Block a user