Skip to content

Fix for lint error complaining of bare except during CI builds.#6470

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
HanClinto:fix-ci-lint-bare-except
Apr 4, 2024
Merged

Fix for lint error complaining of bare except during CI builds.#6470
ggerganov merged 1 commit intoggml-org:masterfrom
HanClinto:fix-ci-lint-bare-except

Conversation

@HanClinto
Copy link
Copy Markdown
Contributor

As discussed here, adding small qualification to except clause to fix the CI linter breaking on build, complaining of ./convert-hf-to-gguf.py:516:9: E722 do not use bare 'except'

While it would be better to use a more specific class other than Exception to fall back for SEA-LION support, this may be good enough...?

@HanClinto HanClinto mentioned this pull request Apr 4, 2024
@ggerganov ggerganov merged commit 72d73af into ggml-org:master Apr 4, 2024
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants