Skip to content

Conversation

@Qubitium
Copy link
Collaborator

@Qubitium Qubitium commented Oct 4, 2025

Based on #1977 and my previous hackish init code in gptq.py torch.linalg methods are not thread safe. We don't know which ones are and which aren't so let's just serialize them all via the same ThreadSafe wrapper we are using for the HF Transformers pr: huggingface/transformers#41329

Tested under:

  • Python 3.13.7T + Pytroch 2.8
  • Python 3.14T-dev + Pytroch 2.10-dev (nightly)

…sformers PR

Signed-off-by: Qubitium <Qubitium@modelcloud.ai>
@Qubitium Qubitium merged commit 0fa9e0f into main Oct 4, 2025
5 checks passed
@Qubitium Qubitium deleted the fix-threading-linalg branch October 4, 2025 01:17
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