Skip to content

Conversation

@DajanaV
Copy link
Contributor

@DajanaV DajanaV commented Oct 28, 2025

Mirrored from ggml-org/llama.cpp#16816

It seems buffer_type.device and repack_buffer_type.device remains uninitialised.

This causes an sporadic crash at ggml_backend_dev_get_props(dev, &props); at llama-model.cpp:6184.

I believe ggml_hexagon_session should always be initialised with the device it corresponds to?

The original code works fine when ran via the cli, however, the crash becomes apparent when bundled into a consumer facing APK.

This fix is tested to fix this issue (running from packaged APK, S25+ Ultra)

@DajanaV DajanaV force-pushed the main branch 4 times, most recently from 1983956 to 326a60a Compare October 29, 2025 12:13
@DajanaV DajanaV added the dev-stale Stale dev environment — dashboard not accessible label Oct 30, 2025
@DajanaV DajanaV deleted the branch main October 30, 2025 15:25
@DajanaV DajanaV closed this Oct 30, 2025
@DajanaV DajanaV deleted the upstream-PR16816-branch_l3utterfly-patch-2 branch October 30, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-stale Stale dev environment — dashboard not accessible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants