Skip to content

Commit cd69d3e

Browse files
bump tokenicer to 0.0.4 & remove FORMAT_FIELD_COMPAT_MARLIN (#1315)
* bump tokenicer to 0.0.4 * fix import FORMAT_FIELD_COMPAT_MARLIN
1 parent e68a041 commit cd69d3e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

gptqmodel/quantization/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
from .config import (FORMAT, FORMAT_FIELD_CODE, FORMAT_FIELD_COMPAT_MARLIN, FORMAT_FIELD_JSON,
17+
from .config import (FORMAT, FORMAT_FIELD_CODE, FORMAT_FIELD_JSON,
1818
QUANT_CONFIG_FILENAME, QUANT_METHOD, QUANT_METHOD_FIELD, BaseQuantizeConfig, QuantizeConfig)
1919
from .gptq import GPTQ
2020
from .quantizer import Quantizer, quantize

gptqmodel/quantization/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ def from_quant_config(cls, quantize_cfg, format: str = None):
351351
raise ValueError(f"QuantizeConfig: Unknown quantization method: `{val}`.")
352352
else:
353353
normalized[QUANT_METHOD_FIELD] = val
354-
elif key == FORMAT_FIELD_COMPAT_MARLIN and val:
355-
normalized[FORMAT_FIELD_CODE] = FORMAT.MARLIN
356354
elif key in field_names:
357355
normalized[key] = val
358356
else:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ hf_transfer>=0.1.9
1313
huggingface_hub>=0.28.1
1414
lm-eval==0.4.7
1515
colorlog>=6.9.0
16-
tokenicer>=0.0.3
16+
tokenicer>=0.0.4

0 commit comments

Comments
 (0)