mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
convert : fix another python 3.8 issue (#2949)
This commit is contained in:
parent
528134dd02
commit
bce1fef328
@ -530,7 +530,7 @@ class LazyTensor:
|
|||||||
raise ValueError(f'Cannot validate conversion from {self.data_type} to {data_type}.')
|
raise ValueError(f'Cannot validate conversion from {self.data_type} to {data_type}.')
|
||||||
|
|
||||||
|
|
||||||
LazyModel = dict[str, LazyTensor]
|
LazyModel: TypeAlias = 'dict[str, LazyTensor]'
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
Loading…
Reference in New Issue
Block a user