Update server/text_generation_server/models/custom_modeling/flash_santacoder_modeling.py

This commit is contained in:
Nicolas Patry 2023-07-12 08:38:17 +02:00 committed by GitHub
parent 1b7b91a4d3
commit f5e8f73a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,8 @@ def _load_multi_mqa_gptq(
try:
import os
bits = int(os.getenv("GTPQ_BITS"))
groupsize = int(os.getenv("GTPQ_GROUPSIZE"))
bits = int(os.getenv("GPTQ_BITS"))
groupsize = int(os.getenv("GPTQ_GROUPSIZE"))
except Exception:
raise e