Skip to content

ty test

ty test #87

Triggered via push March 17, 2026 21:53
Status Failure
Total duration 2m 43s
Artifacts
python type-check
2m 39s
python type-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
ty (index-out-of-bounds): convert_lora_to_gguf.py#L220
convert_lora_to_gguf.py:220:51: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L219
convert_lora_to_gguf.py:219:51: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L217
convert_lora_to_gguf.py:217:20: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L214
convert_lora_to_gguf.py:214:31: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L211
convert_lora_to_gguf.py:211:49: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L210
convert_lora_to_gguf.py:210:49: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L206
convert_lora_to_gguf.py:206:31: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L204
convert_lora_to_gguf.py:204:25: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (index-out-of-bounds): convert_lora_to_gguf.py#L202
convert_lora_to_gguf.py:202:25: index-out-of-bounds: Index 0 is out of bounds for tuple `tuple[()]` with length 0 info: rule `index-out-of-bounds` is enabled by default
ty (invalid-argument-type): convert_llama_ggml_to_gguf.py#L115
convert_llama_ggml_to_gguf.py:115:43: invalid-argument-type: Argument to bound method `get` is incorrect: Expected `GGMLQuantizationType`, found `int` stdlib/builtins.pyi:3015:9: info: Matching overload defined here stdlib/builtins.pyi:3015:19: Parameter declared here info: Non-matching overloads for bound method `get`: info: (self, key: _KT@dict, default: _VT@dict, /) -> _VT@dict info: [_T](self, key: _KT@dict, default: _T, /) -> _VT@dict | _T info: rule `invalid-argument-type` is enabled by default
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L213
examples/model-conversion/scripts/embedding/run-original-model.py:213:53: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L212
examples/model-conversion/scripts/embedding/run-original-model.py:212:47: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L208
examples/model-conversion/scripts/embedding/run-original-model.py:208:47: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L180
examples/model-conversion/scripts/embedding/run-original-model.py:180:133: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L155
examples/model-conversion/scripts/embedding/run-original-model.py:155:65: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L112
examples/model-conversion/scripts/embedding/run-original-model.py:112:78: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L111
examples/model-conversion/scripts/embedding/run-original-model.py:111:54: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/embedding/run-original-model.py#L67
examples/model-conversion/scripts/embedding/run-original-model.py:67:46: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unused-type-ignore-comment): examples/model-conversion/scripts/causal/compare-logits.py#L10
examples/model-conversion/scripts/causal/compare-logits.py:10:85: unused-type-ignore-comment: Unused blanket `type: ignore` directive help: Remove the unused suppression comment
ty (unsupported-base): convert_lora_to_gguf.py#L365
convert_lora_to_gguf.py:365:25: unsupported-base: Unsupported class base with type `type[ModelBase]` info: ty cannot resolve a consistent method resolution order (MRO) for class `LoraModel` due to this base info: Only class objects or `Any` are supported as class bases info: rule `unsupported-base` is enabled by default