Skip to content

Conversation

@kylesayrs
Copy link
Collaborator

Purpose

  • Fix align_modules to support updating parameters within the context
    • This was caused because turning off offloading (_hf_hook.offload = False) also meant disabling the updating of offload parameters (in the weights map)

Changes

  • Utilize disable_offloading, which updates parameters after the context exits

Testing

  • Added new parameter updating to test_align_modules

Signed-off-by: Kyle Sayers <[email protected]>
@kylesayrs
Copy link
Collaborator Author

align_modules should be removed

@kylesayrs kylesayrs closed this Jul 31, 2025
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.

3 participants