Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ZX committed Oct 7, 2024
1 parent 2e44278 commit 0843093
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gptqmodel/models/auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from .minicpm3 import MiniCPM3GPTQ
from .mistral import MistralGPTQ
from .mixtral import MixtralGPTQ
from .mllama import MLlamaGPTQ
from .moss import MOSSGPTQ
from .mpt import MPTGPTQ
from .opt import OPTGPTQ
Expand All @@ -43,7 +44,6 @@
from .starcoder2 import Starcoder2GPTQ
from .xverse import XverseGPTQ
from .yi import YiGPTQ
from .mllama import MLlamaGPTQ

MODEL_MAP = {
"bloom": BloomGPTQ,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

from datasets import load_dataset # noqa: E402
from gptqmodel import BACKEND, GPTQModel # noqa: E402
from gptqmodel.quantization import QuantizeConfig # noqa: E402
from gptqmodel.utils import Perplexity # noqa: E402
from gptqmodel.nn_modules.qlinear.qlinear_marlin_inference import MarlinInferenceQuantLinear
from gptqmodel.nn_modules.qlinear.qlinear_tritonv2 import TritonV2QuantLinear
from gptqmodel.quantization import QuantizeConfig # noqa: E402
from gptqmodel.utils import Perplexity # noqa: E402
from parameterized import parameterized
from transformers import AutoTokenizer # noqa: E402

Expand Down
1 change: 1 addition & 0 deletions tests/test_q4_marlin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -- do not touch
import os
import tempfile

from datasets import load_dataset

os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
Expand Down

0 comments on commit 0843093

Please sign in to comment.