Skip to content

[DO NOT LAND] Add linear+bias decomposition#222

Open
manuelcandales wants to merge 1 commit intohuggingface:mainfrom
manuelcandales:manuel/metal-linear-bias-decomp
Open

[DO NOT LAND] Add linear+bias decomposition#222
manuelcandales wants to merge 1 commit intohuggingface:mainfrom
manuelcandales:manuel/metal-linear-bias-decomp

Conversation

@manuelcandales
Copy link
Contributor

Introduced the _linear_bias_decomposition function to decompose the linear operation (linear+bias) into separate matmul and add operations, avoiding the use of addmm which is not supported by the Metal backend.

@manuelcandales manuelcandales changed the title Add linear+bias decomposition [DO NOT LAND] Add linear+bias decomposition Mar 13, 2026
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