mirror of https://github.com/hpcaitech/ColossalAI
[NFC] polish colossalai/inference/quant/gptq/cai_gptq/__init__.py code style (#4792)
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