Hacker News new | past | comments | ask | show | jobs | submit login
Guide to Using TensorFlow in Rust (logrocket.com)
24 points by unripe_syntax on Feb 22, 2024 | hide | past | favorite | 3 comments



I deployed a ML solution in Rust back in 2020 (tch-rs instead of tensorflow, though), so this has been possible for a while.

Surprisingly I saw some impressive speed gains vs python (and vs JS, tried that one as well), probably because I was running tons on images through it and the percentage of time spent doing inference wasn't very high.

Deployment wasn't the easiest, but doable.

Instead of jumping on the tensorflow or torch boat, when doing Rust today I would consider using https://github.com/huggingface/candle


I'm inclined to agree with this. I'm super excited to see how Candle progresses in the coming years!


> TensorFlow

Nah, I'm good. Thanks for the ad at the bottom though?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: