Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Neat - this uses the following to get a version of Torch that works with Python 3.11:

    pip3 install --pre torch torchvision --extra-index-url https://download.pytorch.org/whl/nightly/cpu
That's the reason I stuck with Python 3.10 in my write-up for doing this: https://til.simonwillison.net/llms/llama-7b-m2


You don’t actually need torchvision. I just used

  mamba create -n llama python==3.10 pytorch sentencepiece


We have a mamba as well?


It’s a faster conda. Strongly recommended




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: