remove deprecated key function
This commit is contained in:
parent
73c4c1702e
commit
ab77cc7c0d
1 changed files with 0 additions and 14 deletions
|
|
@ -19,20 +19,6 @@ _IS_PHI_REGISTERED = False
|
|||
_IS_PHI_INSTRUCT_REGISTERED = False
|
||||
|
||||
|
||||
def construct_model_key(
|
||||
org, base_name, version, size, quant_type, instruct_tag
|
||||
):
|
||||
key = f"{org}/{base_name}-{version}-{size}B"
|
||||
if instruct_tag:
|
||||
key = "-".join([key, instruct_tag])
|
||||
if quant_type:
|
||||
if quant_type == "bnb":
|
||||
key = "-".join([key, BNB_QUANTIZED_TAG])
|
||||
elif quant_type == "unsloth":
|
||||
key = "-".join([key, UNSLOTH_DYNAMIC_QUANT_TAG])
|
||||
return key
|
||||
|
||||
|
||||
@dataclass
|
||||
class ModelInfo:
|
||||
org: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue