Skip to content

ci: fix uninitialized timer value in Windows static test builds - #29542

Closed
eapache wants to merge 1 commit into
ggml-org:masterfrom
eapache:ehuus/fix-uninitialized-timer-windows-tests
Closed

eapache wants to merge 1 commit into
ggml-org:masterfrom
eapache:ehuus/fix-uninitialized-timer-windows-tests

Conversation

@eapache

@eapache eapache commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Add missing llama_backend_init() calls in two test suites. Fixes some CI failures like https://github.com/ggml-org/llama.cpp/actions/runs/36336478703/job/108668181360.

Additional information

The ggml_backend_load_all() calls mask this in dynamic builds. In the static build, with no backend DLLs to discover, it returns without initializing the backend timer and then ggml_time_us() divides by an uninitialized frequency.

Alternatively, maybe ggml_backend_load_all should be triggering this path explicitly when it doesn't find any backends to load?

Requirements

@github-actions github-actions Bot added the testing Everything test related label Sep 27, 2026
@eapache
eapache marked this pull request as ready for review September 27, 2026 18:39
@eapache
eapache requested a review from ggerganov as a code owner September 27, 2026 18:39
@eapache

eapache commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #29554.

@eapache eapache closed this Sep 28, 2026
@eapache
eapache deleted the ehuus/fix-uninitialized-timer-windows-tests branch September 28, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant