Skip to content

Merge pull request #24 from OpenBMB/master #9

Merge pull request #24 from OpenBMB/master

Merge pull request #24 from OpenBMB/master #9

Triggered via push August 10, 2024 08:36
Status Failure
Total duration 55m 24s
Artifacts
pyright type-check
1m 3s
pyright type-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L9
Import "timm" could not be resolved (reportMissingImports)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L194
"minicpmv_version" is possibly unbound (reportPossiblyUnboundVariable)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L324
"ftype_cur" is possibly unbound (reportPossiblyUnboundVariable)
pyright type-check: 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)
pyright type-check: 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)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L146
Import "flash_attn" could not be resolved (reportMissingImports)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L147
Import "flash_attn.bert_padding" could not be resolved (reportMissingImports)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L155
"torch" is not exported from module "torch" (reportPrivateImportUsage)
pyright type-check: 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)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L245
"denom" is possibly unbound (reportPossiblyUnboundVariable)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_5-convert-image-encoder-to-gguf.py#L9
Import "timm" is not accessed (reportUnusedImport)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_5-surgery.py#L2
Import "glob" is not accessed (reportUnusedImport)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_6-convert-image-encoder-to-gguf.py#L23
Import "Any" is not accessed (reportUnusedImport)
pyright type-check: examples/llava/minicpmv-convert/minicpmv2_6-surgery.py#L2
Import "glob" is not accessed (reportUnusedImport)