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

Thanks for this - it's rare to see a setup guide that actually works on each step!

I did need to run the troubleshooting step too, could probably just move that up as a required step in the guide.



It isn't required for some (most?) users. Weirdly sometimes pip is picking up the wheel for `onnx`, sometimes it isn't, and we can't figure out why.

Any Python packaging experts know what's going on? all macOS 12, arm64, Python 3.10. Can't think it wouldn't resolve the wheel.

But yes, good idea to move up. I'll stick it next to the `pip install`.


Please consider also adding a small note to help those few that get stuck with this bug:

    RuntimeError: expected scalar type BFloat16 but found Float
The solution is easy:

    append the execution command with `--precision full`


Commenting for more visibility, this worked for me too.

Thank you!


Commenting for visibility, thanks for this


This worked for me as well, thanks!


Different versions of pip.




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

Search: