Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: test: disable debug release type sanitizer, simplify trigger #6047

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

phymbert
Copy link
Collaborator

@phymbert phymbert commented Mar 13, 2024

Motivation

  • Server tests with cmake release type Debug are extremely slow with Thread sanitizer, blocking the CI on each pull request action.
  • Recently, GitHub free CI runners are extremly slow, server startup time increased.
  • -fsanitize=* are broken:
AddressSanitizer:DEADLYSIGNAL
... or ...
FATAL: ThreadSanitizer: unexpected memory mapping 0x571167ebd000-0x571167ecd000

Changes

  • Disable the -fsanitize=thread with -DCMAKE_BUILD_TYPE=Debug matrix entry for pull request.
  • Simplify matrix and step conditions.
  • Do not fail fast in order to ensure at least Release is still passing.
  • Increase max attempts in health check and server startup.

References

@phymbert phymbert requested review from ngxson and ggerganov and removed request for ggerganov and ngxson March 13, 2024 21:28
@phymbert phymbert marked this pull request as draft March 13, 2024 22:01
@phymbert phymbert force-pushed the hp/server/tests/disable-sanitizer-thread-debug branch from f0b15fd to 80e0be9 Compare March 13, 2024 22:06
…lify triggers and matrix

 - increase time out for server
 - do not fail fast
@phymbert phymbert force-pushed the hp/server/tests/disable-sanitizer-thread-debug branch from c934ac5 to 0fa925c Compare March 13, 2024 22:46
@phymbert phymbert requested a review from ngxson March 13, 2024 22:47
@phymbert phymbert marked this pull request as ready for review March 13, 2024 22:47
@ggerganov ggerganov merged commit 43241ad into master Mar 14, 2024
17 of 18 checks passed
@ggerganov ggerganov deleted the hp/server/tests/disable-sanitizer-thread-debug branch March 14, 2024 11:15
NeoZhangJianyu pushed a commit to NeoZhangJianyu/llama.cpp that referenced this pull request Mar 15, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
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