mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-31 07:18:59 +00:00
[NFC] polish colossalai/inference/quant/gptq/cai_gptq/__init__.py code style (#4792)
This commit is contained in:
parent
eef96e0877
commit
07ed155e86
@ -3,9 +3,10 @@ import warnings
|
||||
HAS_AUTO_GPTQ = False
|
||||
try:
|
||||
import auto_gptq
|
||||
|
||||
HAS_AUTO_GPTQ = True
|
||||
except ImportError:
|
||||
warnings.warn('please install auto-gptq from https://github.com/PanQiWei/AutoGPTQ')
|
||||
warnings.warn("please install auto-gptq from https://github.com/PanQiWei/AutoGPTQ")
|
||||
HAS_AUTO_GPTQ = False
|
||||
|
||||
if HAS_AUTO_GPTQ:
|
||||
|
Loading…
Reference in New Issue
Block a user