From 5011eefeaf119ecd61dcf5d03e3f70c66fab17d3 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Sun, 7 Jul 2024 18:06:14 +1000 Subject: [PATCH] convert_hf_to_gguf.py: optional, dataclass removed from type as it was unused --- convert_hf_to_gguf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index dbd033678..a15f8a515 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -13,8 +13,7 @@ import sys from enum import IntEnum from pathlib import Path from hashlib import sha256 -from typing import TYPE_CHECKING, Any, Callable, ContextManager, Iterable, Iterator, Literal, Sequence, TypeVar, cast, Optional -from dataclasses import dataclass +from typing import TYPE_CHECKING, Any, Callable, ContextManager, Iterable, Iterator, Literal, Sequence, TypeVar, cast import math import numpy as np