Huggingface candleとはHuggingface candleは、whisperやstable diffusion, LLMをRust上で利用できようにしたライブラリです。 リンクColab github 準備Google Colabを開き、メニューから「ランタイム→ランタイムのタイプを変更」でランタイムを「GPU」に変更します。 環境構築Rustの環境構築です。 !curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y !cp /root/.cargo/bin/* /usr/local/binRustの基本僕自身が初めてRustを利用するのでちょっと色々試してみます。 (1)Runtime %%writefile main.rs fn main() { // 世界よ、こんにちは prin
![huggingface candleに入門してみた|しば🐕AI](https://cdn-ak-scissors.b.st-hatena.com/image/square/5de5a00f8e698397ea01409614beac56d321bfc5/height=288;version=1;width=512/https%3A%2F%2Fd2l930y2yx77uc.cloudfront.net%2Fproduction%2Fsocial_images%2F8d09d45df5c799aeeb0b644177739bc97afbca2e.png)