Skip to content

nncase 2.1 RuntimeError: Failed to get hostfxr path. #1013

Pinned Answered by curioyang
Blatts01 asked this question in Q&A
Discussion options

You must be logged in to vote

Q1 :RuntimeError: Failed to get hostfxr path.
You need to install dotnet-7.0.
In ubuntu, use sudo apt-get install dotnet-sdk-7.0.
If you still have problems after installation, maybe you install dotnet in a virtual enviroment, set the environment variables export DOTNET_ROOT=/usr/share/dotnet.

Q2: Sadly, the docker image was not available, the target hardware is a k210 board.
Unfortunately, nncase-v2 does not support k210. You need v0.2 to get good performance. It supports more operations in v1, but performance is poor.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by curioyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants