Skip to content

Conversation

ochafik
Copy link
Collaborator

@ochafik ochafik commented Jun 28, 2024

This is to avoid tests timing out in AVX-512 emulation (see #8133 (comment), cc/ @slaren )

More proper fixes could be to split the json test in 3 (C++, Python, Node) and run them in parallel w/ ctest -j, and avoid the excessive subprocess calls to Python & Node.

We could write test orchestration of each variant in its respective language, but we'd then need to share the test cases between the 3, say in JSON (may make their maintenance less easy than with the current C++ multiline support).

We could also launching Python & Node mini subprocess servers that serve a "/convert-schema-to-grammar" RPC (Yes, it sounds overengineered, but maybe it's the simplest change :-))

cc/ @HanClinto wdyt?

@github-actions github-actions bot added testing Everything test related devops improvements to build systems and github actions labels Jun 28, 2024
@slaren
Copy link
Member

slaren commented Jun 28, 2024

I think this solution is good enough, the test is still fully run in the other platforms and it is extremely unlikely that it would fail only on AVX512.

@ochafik ochafik marked this pull request as ready for review June 28, 2024 16:57
@ochafik
Copy link
Collaborator Author

ochafik commented Jun 28, 2024

Just verified it's indeed skipped here and not in its sibling jobs: WARNING: Skipping slow tests on emulator.

@ochafik ochafik changed the title json: attempt to skip slow tests when running under emulator json: skip slow tests when running under emulator Jun 28, 2024
@ochafik ochafik merged commit 8748d8a into ggml-org:master Jun 28, 2024
@ochafik ochafik deleted the json-skip-slow-emu branch June 28, 2024 20:10
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Jun 30, 2024
MagnusS0 pushed a commit to MagnusS0/llama.cpp-normistral-tokenizer that referenced this pull request Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops improvements to build systems and github actions testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants