Skip to content

fix: add simple lock to hf generation to prevent using incorrect weights - #237

Merged
jakelorocco merged 2 commits into
mainfrom
jal/simple-hf-lock
Dec 5, 2025
Merged

jakelorocco merged 2 commits into
mainfrom
jal/simple-hf-lock

Conversation

@jakelorocco

Copy link
Copy Markdown
Contributor

Change:

  • added a simple lock to prevent concurrent generation so that adapters / regular generation don't use incorrect weights

Tests:

  • added some tests to ensure deadlocks don't happen and the correct weights are present when generating

@mergify

mergify Bot commented Nov 24, 2025

Copy link
Copy Markdown

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|release)(?:\(.+\))?:

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.

alora issues

1 participant