Skip to content

Vulkan memory-check and device-selection cases not triggerable in 0.12.0 validation #1024

Open

Description

@leehack

Follow-up from the 0.12.0 validation (#966). The Vulkan checks added in this cycle were validated on real hardware as far as the available hosts allow; the cases below could not be triggered and are deferred by maintainer decision (2026-10-13).

Validated for 0.12.0:

  • Image-model memory check (#971): runtime figures read from a real Vulkan device on Linux and Windows (NVIDIA L4, one GPU each); SDXS and SD-Turbo+TAESD load and generate.
  • Device facts and selection (#974): one Vulkan 1.4 discrete device registered with matched facts on Linux and Windows; gpu-required and auto loads select it.
  • Vulkan-below-1.2 refusal: typed refusal and CPU fallback on a Galaxy A53 (driver Vulkan 1.1.177).
  • Prompt cap kept on Pixel 9 Pro (Mali-G715): capped sweep six of six, full profile correct up to 278-token prompts.

Not triggered, still owed:

The plan's rows L2, A12 and A13 in the 0.12.0 validation notes describe how each could be run.

Activity

  1. leehack commented on Oct 14, 2026

    @leehack
    OwnerAuthor

    One more deferred item from #966 (maintainer decision, 2026-10-13):

    • LiteRT-LM bundle in a read-only directory on a Linux GPU (#975). The behaviour is validated on a real GPU on two iPhone 16 Pro units (Metal) and on CPU on macOS and a Linux arm64 container; the Linux x64 GPU run was prepared (validation kit lanes litert-gpu and litert-readonly-gpu, kit rebound to 29c52578 and independently reviewed) but two L4 sessions found no stock in nine zones on 2026-10-13/14, and the first Linux session did not include the opt-in lanes. example/chat_app/integration_test/litert_lm_read_only_bundle_e2e_test.dart (#1023) can also run this on a Linux desktop with -d linux.
  2. leehack commented on Oct 14, 2026

    @leehack
    OwnerAuthor

    Linux GPU read-only bundle item: done. GCE Linux x64, one NVIDIA L4 (us-west1-a), 2026-10-14 session linux-s9, validation kit v4 bound to 29c52578 (since then main differs in kit-relevant paths only by the 0.12.0 version bump), LiteRT-LM v0.18.0 published bytes:

    • litert-readonly-gpu PASS: test/e2e/backends/litert_lm_read_only_bundle_e2e_test.dart ran both tests (not skipped): a bundle named without .litertlm in a read-only directory generated on the GPU backend with no cache directory and left nothing behind; an unwritable caller-supplied cache directory still fails with the typed error. The runtime selected NVIDIA L4, arch=lovelace, vendor=nvidia, backend=Vulkan, adapterType=Discrete GPU; L4 memory used rose from 0 to 1,764 MiB during the lane.
    • litert-gpu PASS: chat-litert-gpu 15 cases through the maintained runner with the L4 adapter selected (the tool itself still reports accelerator_evidence_missing for desktop LiteRT GPU).
    • The kit's lane grader reproduces the saved verdict byte for byte; no Xid, segfault or OOM in the kernel log; VM deleted after 10 minutes, teardown proof clean. Results archive sha256 a477a4bb….

    The other items in this issue (the #971 warning and refusal paths, two Vulkan devices, CUDA with Vulkan, the cap lifted on a subgroup-8 or ≥32 GPU) remain open.

  3. added
    enhancement
    priority:P3
    on Oct 14, 2026
  4. leehack commented on Oct 15, 2026

    @leehack
    OwnerAuthor

    Moved from #1099 item 2: the image memory check from #980 (0 free VRAM treated as none) is unverified at exactly 0 bytes free on real hardware; only unit tests cover that branch.

  5. added
    filler
    on Oct 24, 2026
  6. added
    priority:P3
    and removed
    priority:P3
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfillerpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions