Update convert-hf-to-gguf.py
This change is needed for Gemma models to be able to be quantized that have been merged with mergekit. Normal gemma models do not need this, but when a model is merged with mergekit it cannot be quantized without this change.
This commit is contained in:
parent
08c5ee87e4
commit
645bb3d5a2
1 changed files with 2 additions and 1 deletions
|
@ -8,10 +8,11 @@ import json
|
|||
import os
|
||||
import re
|
||||
import sys
|
||||
import transformers
|
||||
from enum import IntEnum
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING, Any, ContextManager, Iterator, Sequence, cast
|
||||
|
||||
from transformers import GemmaModel
|
||||
import numpy as np
|
||||
import torch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue