Skip to content

Feat: Fallback logging - #13

Merged
softcookiepp merged 3 commits into
softcookiepp:masterfrom
DarkMatter-999:feat/fallback-logging
Sep 10, 2026
Merged

Feat: Fallback logging#13
softcookiepp merged 3 commits into
softcookiepp:masterfrom
DarkMatter-999:feat/fallback-logging

Conversation

@DarkMatter-999

Copy link
Copy Markdown

Adds strict fallback observability for the Vulkan backend and introduces regression coverage for CPU fallback behavior.

Changes

  • Added configurable strict fallback mode.
  • Added fallback invocation counting.
  • Added fallback reporting through the Python API and torch.vk.
  • Preserved the existing fallback warning text.
  • Added regression tests covering:
    • Permissive CPU fallback.
    • Strict fallback rejection.
    • Fallback count increments.
    • Legacy warning compatibility.

Testing

Validated with:

PYTHONPATH=build-venv .venv/bin/python tests/test_fallback.py --device vk:0

@softcookiepp

Copy link
Copy Markdown
Owner

looks good to meeeeee

@softcookiepp
softcookiepp merged commit 7d965ea into softcookiepp:master Sep 10, 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