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

Fix weights load device use #686

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

nirda7
Copy link

@nirda7 nirda7 commented Jan 14, 2025

Some hardware (like TPU) change device in the device_config after the initial setting (None) in their worker's init_device function.
So we cannot set the device to upload the unquantized weights during initialization.

@nirda7 nirda7 force-pushed the dev/fix_weights_load_device_use branch 2 times, most recently from 78a6adb to fe82b0b Compare January 14, 2025 15:24
@nirda7 nirda7 force-pushed the dev/fix_weights_load_device_use branch from fe82b0b to 9105ef2 Compare January 15, 2025 17:14
@nirda7 nirda7 force-pushed the dev/fix_weights_load_device_use branch from 9105ef2 to f6c2559 Compare January 16, 2025 09:59
@nirda7 nirda7 merged commit 40bb71f into habana_main Jan 16, 2025
32 checks passed
@nirda7 nirda7 deleted the dev/fix_weights_load_device_use branch January 16, 2025 11: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