candle icon indicating copy to clipboard operation
candle copied to clipboard

Refactor candle-metal-kernels to accept an encoder instead of a command buffer

Open tomsanbear opened this issue 1 year ago • 1 comments
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.

tomsanbear avatar Apr 14 '24 20:04 tomsanbear

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).

LaurentMazare avatar Apr 14 '24 20:04 LaurentMazare