Skip to content

Conversation

@JosephCatrambone
Copy link
Contributor

In short, HuggingFace (or, Torch, really) is running into an invalid access fault in OpenMP when allocating space for a buffer.

frame #0: 0x000000031fe6992c libomp.dylib`void __kmp_suspend_64<false, true>(int, kmp_flag_64<false, true>*) + 48
libomp.dylib`__kmp_suspend_64<false, true>:

To sidestep this issue we can force the thread count to 1 inside the tests.

@JosephCatrambone JosephCatrambone marked this pull request as ready for review June 26, 2024 20:57
Copy link
Contributor

@dtam dtam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes all my segfaults for today so far 👍🏻

@JosephCatrambone JosephCatrambone merged commit 55c6dde into 0.5.0-dev Jun 26, 2024
@JosephCatrambone JosephCatrambone deleted the jc/bug-single-thread-model branch June 26, 2024 21:23
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