使用自定义卷积替换ggml_conv_1d,防止metal只支持im2col fp16 #122
python-type-check.yml
on: push
pyright type-check
2m 8s
Annotations
10 errors and 3 warnings
|
pyright type-check:
convert_hf_to_gguf.py#L892
Cannot access attribute "to_dict" for class "dict[str, Any]"
Attribute "to_dict" is unknown (reportAttributeAccessIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L784
Cannot access attribute "to_dict" for class "dict[str, Any]"
Attribute "to_dict" is unknown (reportAttributeAccessIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L650
"__getitem__" method not defined on type "PretrainedConfig" (reportIndexIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L650
"__setitem__" method not defined on type "PretrainedConfig" (reportIndexIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L647
"__getitem__" method not defined on type "PretrainedConfig" (reportIndexIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L647
"__setitem__" method not defined on type "PretrainedConfig" (reportIndexIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L606
Cannot access attribute "set_hift_guff_parameters" for class "ModelBase*"
Attribute "set_hift_guff_parameters" is unknown (reportAttributeAccessIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L343
Cannot access attribute "to_dict" for class "dict[str, Any]"
Attribute "to_dict" is unknown (reportAttributeAccessIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L315
Cannot assign to attribute "hparams" for class "ModelBase*"
Type "PretrainedConfig | Any | dict[str, Any]" is not assignable to type "dict[str, Any]"
"PretrainedConfig" is not assignable to "dict[str, Any]" (reportAttributeAccessIssue)
|
|
pyright type-check:
convert_hf_to_gguf.py#L166
Expression of type "tuple[Literal[256]]" cannot be assigned to parameter of type "List[int]"
"tuple[Literal[256]]" is not assignable to "List[int]" (reportArgumentType)
|
|
pyright type-check:
convert_hf_to_gguf.py#L35
Import "Dict" is not accessed (reportUnusedImport)
|
|
pyright type-check:
convert_hf_to_gguf.py#L19
Import "AutoConfig" is not accessed (reportUnusedImport)
|
|
pyright type-check:
convert_hf_to_gguf.py#L17
Import "Tuple" is not accessed (reportUnusedImport)
|