Merge pull request #24 from OpenBMB/master #9
Annotations
10 errors and 4 warnings
examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L9
Import "timm" could not be resolved (reportMissingImports)
|
examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L194
"minicpmv_version" is possibly unbound (reportPossiblyUnboundVariable)
|
examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L324
"ftype_cur" is possibly unbound (reportPossiblyUnboundVariable)
|
examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L338
Expression of type "str" is incompatible with declared type "(raw_key: str, arch: str) -> str"
Type "str" is incompatible with type "(raw_key: str, arch: str) -> str" (reportAssignmentType)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L120
Method "from_pretrained" overrides class "PretrainedConfig" in an incompatible manner
Positional parameter count mismatch; base method has 8, but override has 3 (reportIncompatibleMethodOverride)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L146
Import "flash_attn" could not be resolved (reportMissingImports)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L147
Import "flash_attn.bert_padding" could not be resolved (reportMissingImports)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L155
"torch" is not exported from module "torch" (reportPrivateImportUsage)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L214
Function with declared return type "Tensor" must return value on all code paths
"None" is incompatible with "Tensor" (reportReturnType)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L245
"denom" is possibly unbound (reportPossiblyUnboundVariable)
|
examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L9
Import "timm" is not accessed (reportUnusedImport)
|
examples/llava/minicpmv-convert/minicpmv2_5-surgery.py#L2
Import "glob" is not accessed (reportUnusedImport)
|
examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L23
Import "Any" is not accessed (reportUnusedImport)
|
examples/llava/minicpmv-convert/minicpmv2_6-surgery.py#L2
Import "glob" is not accessed (reportUnusedImport)
|
This job failed
Loading