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(qlinear): speed up weights transfer #85

Merged
merged 1 commit into from
Feb 13, 2024
Merged

fix(qlinear): speed up weights transfer #85

merged 1 commit into from
Feb 13, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Feb 13, 2024

By instantiating the QLinear weights directly on the device, it saves two copies: from device to cpu and back.

By instantiating the QLinear weights directly on the device, it saves
two copies: from device to cpu and back.
@dacorvo dacorvo merged commit ba8ff36 into main Feb 13, 2024
3 checks passed
@dacorvo dacorvo deleted the transfer_weights branch February 13, 2024 17:21
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.

1 participant