Skip to content

Check for tokenizer in downloaded models directory #929

Check for tokenizer in downloaded models directory

Check for tokenizer in downloaded models directory #929

Triggered via pull request November 11, 2024 20:51
Status Failure
Total duration 2m 23s
Artifacts

lint.yml

on: pull_request
Matrix: lint
lint-workflow-complete
0s
lint-workflow-complete
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
ruff
Process completed with exit code 3.
pylint: src/instructlab/sdg/utils/chunkers.py#L22
E0401: Unable to import 'instructlab.model.backends.backends' (import-error)
pylint: src/instructlab/sdg/utils/chunkers.py#L22
E0611: No name 'model' in module 'instructlab' (no-name-in-module)
pylint: src/instructlab/sdg/utils/chunkers.py#L306
E0401: Unable to import 'ipdb' (import-error)
pylint: src/instructlab/sdg/utils/chunkers.py#L316
E0606: Possibly using variable 'tokenizer' before assignment (possibly-used-before-assignment)
pylint
Process completed with exit code 22.
mypy
Process completed with exit code 1.
pylint: src/instructlab/sdg/utils/chunkers.py#L306
C0415: Import outside toplevel (ipdb) (import-outside-toplevel)
pylint: src/instructlab/sdg/utils/chunkers.py#L317
W0612: Unused variable 'e' (unused-variable)