Folke Behrens

Results 20 comments of Folke Behrens

> Hey, this seems really specific. How did you figure the offset, just trial and error? Yes, I'm drawing a triangle the size of the screen and moved it until...

I noticed the hardcoded framebuffer size of 320x240. My LCD's size is 240x135 and if I add 40px left and right and 53px above and below I get 320x241. Doesn't...

> Hmm, so the `ST7789` AFAIK was always framebuffer size 320x240 with display size 240x240, that's why I hardcoded it. Do you have a link to your specific display specs/sell...

OK, I tried your new driver with `_sized`, but no luck. So I went over the reference driver again and only now I noticed what the `SetWindows` function does at...

And thanks for helping! I think the `_sized` PR is still useful to expose the actual display size. The framebuffer should always be 240,320, right? (I noticed that `Display::clear` clears...

I tried unquantized Mixtral example on my M3 Max 128G, but also ran out of memory. MLX's Mixtral example works fine. Maybe `candle` allocates buffers twice (mmap + gpu) because...

Thanks a lot for the quick reply! Seems like the candle team is already on it. That's great! I'm going to follow ivarflakstad's work then. > we could get ~same...

Sorry, one last quick question: Do you know if M1 GPU understands bf16, but M1 CPU does not? I just came across this doc: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf, which says bf16 is supported...

Right, I should have mentioned that sometimes it's not possible to install tools when VM is too loaded: ``` $ apt install iproute2 tcpdump Reading package lists... Done Building dependency...

Sorry, by "too loaded" I meant too high memory use. I didn't check exactly how high it was at the time. I don't have prod access right now, maybe check...