"git@developer.sourcefind.cn:OpenDAS/openfold.git" did not exist on "734ce915b958e30c57a3e3fd2b175e7b21aeded3"
Commit 07ed155e authored by Michelle's avatar Michelle Committed by Zian(Andy) Zheng
Browse files

[NFC] polish colossalai/inference/quant/gptq/cai_gptq/__init__.py code style (#4792)

parent eef96e08
...@@ -3,9 +3,10 @@ import warnings ...@@ -3,9 +3,10 @@ import warnings
HAS_AUTO_GPTQ = False HAS_AUTO_GPTQ = False
try: try:
import auto_gptq import auto_gptq
HAS_AUTO_GPTQ = True HAS_AUTO_GPTQ = True
except ImportError: 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 HAS_AUTO_GPTQ = False
if HAS_AUTO_GPTQ: if HAS_AUTO_GPTQ:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment