candle
candle copied to clipboard
Refactor candle-metal-kernels to accept an encoder instead of a command buffer
trafficstars
This PR is setting up the metal backend for the change proposed in this PR: https://github.com/huggingface/candle/pull/2037
The goal here is to have no actual change at runtime for this diff, but to decrease the complexity of the linked MR above.
Thanks, certainly a good idea to break the change in smaller pieces. But let's maybe put that on hold until there is a better understanding of the issue with stable-diffusion on the other PR (if that's not already the case).