Hacker GitHub

← All repos

huggingface/candle

View on GitHub ↗ ★ 21,265 Rust

Minimalist ML framework for Rust

25 mentions on Hacker News by 23 people: 1 story, 24 comments · first 2023-08-06 · latest 2026-09-17

Mentions per year 25 mentions · busiest year 2023 (10)
20082026
  1. Integration with candle is already available! https://github.com/huggingface/candle/pull/3934/
    comment by melihelibol · 2026-09-17 · in Nvidia announces native GPU programming in Rust
  2. …[1] crate for inference on Rust, this seems like a good step towards nice native Rust kernels. [1] https://github.com/huggingface/candle
  3. …with ML on Rust, and easy to move things between CPU and GPU, more of a library than a DSL though: https://github.com/huggingface/candle
  4. …create a new chat or join via link/code. It also has in browser transcription using Whisper (using https://github.com/huggingface/candle/ ). Currently fighting getting background blur to work smoothly on Chrome on Android, which is proving…
    comment by properbrew · 2026-01-03 · in Ask HN: What are you working on? (Jan 2026)
  5. If you need WASM, I think Candle is your current best bet: https://github.com/huggingface/candle
  6. …in our inference engine for Mixlayer[2]. [0] https://github.com/coreylowman/cudarc/pull/449 [1] https://github.com/huggingface/candle/pull/2989 [2] https://mixlayer.com
  7. …to this effort: https://github.com/tracel-ai/cubecl [0]: https://github.com/tracel-ai/burn [1]: https://github.com/huggingface/candle/
    comment by hardwaresofton · 2025-07-26 · in Rust running on every GPU
  8. …[1] and candle [2] recently and they sounded interesting. [1] https://crates.io/crates/burn [2] https://github.com/huggingface/candle Interestingly, burn supports candle as a backend.
  9. Surprised this doesn't mention candle: https://github.com/huggingface/candle
  10. …GPU for computation. If you would like to try out a Rust framework that does support GPUs, Candle https://github.com/huggingface/candle/tree/main may be worth exploring
  11. …tensor operations needed to run the forward pass of LLMs isn't as large as you'd think though. [0] https://github.com/huggingface/candle
  12. …ML framework for Rust with a focus on performance (including GPU support) and ease of use https://github.com/huggingface/candle
    comment by convexstrictly · 2024-04-09 · in Llm.c – LLM training in simple, pure C/CUDA
  13. …and it runs pretty well. Can use both CUDA and Metal backends (or just plain-old CPU). [1] https://github.com/huggingface/candle
  14. …monopoly of CUDA inevitably gets chipped away. [0] https://github.com/ShelbyJenkins/llm_client [1] https://github.com/huggingface/candle
  15. …Instead of jumping on the tensorflow or torch boat, when doing Rust today I would consider using https://github.com/huggingface/candle
    comment by jokethrowaway · 2024-02-22 · in Guide to Using TensorFlow in Rust
  16. …deeper into the source code, but the code in their examples is clear and easy to understand [0] https://github.com/huggingface/candle
  17. …backends is a huge undertaking. Do you think backends such as MPS may become a shared effort? [1] https://github.com/huggingface/candle [2] https://github.com/huggingface/candle/issues/313
  18. …whisper down to a single CUDA-leveraging binary for fast local transcription is pretty cool! [0]: https://github.com/huggingface/candle
    comment by n8henrie · 2023-09-16 · in Should I Haskell or OCaml?
  19. Powered by Candle Rust compiled to Wasm: https://github.com/huggingface/candle
  20. https://github.com/huggingface/candle/blob/main/candle-kerne... That’s the C++ variant of cuda, not Rust. They’re just binding it as one might in Python. At which point, what’s the value add?
    comment by brrrrrm · 2023-08-08 · in Candle: Torch Replacement in Rust
  21. They already support quantization out of the box! https://github.com/huggingface/candle/pull/314/files
    comment by FL33TW00D · 2023-08-08 · in Candle: Torch Replacement in Rust
  22. …There is an issue about WebGPU although I don’t notice references to the native version of it. https://github.com/huggingface/candle/issues/344
    comment by kvark · 2023-08-08 · in Candle: Torch Replacement in Rust
  23. …library is targeting production, a much smaller subset of engineers. See the 'why candle' section: https://github.com/huggingface/candle#why-candle . So you could use PyTorch to build models and Candle to serve them.
    comment by huac · 2023-08-08 · in Candle: Torch Replacement in Rust
  24. …you would get on pytorch. ...And then I spotted Candle, a new ML framework by the same author: https://github.com/huggingface/candle It's all in Rust, self contained, a huge undertaking, but it looks very promising. They already have a…
    comment by jokethrowaway · 2023-08-06 · in Llama2.rs: One-file Rust implementation of Llama2