Gemmini Tutorial Question: ./scripts/build-onnx-inference.sh

133 views
Skip to first unread message

Matthew Wallace

unread,
Aug 10, 2022, 8:55:31 PM8/10/22
to Chipyard
Hello,

I'm trying to follow the Gemmini IISWC Tutorial.  They use a /tutorial directory that I do not have.  I'm trying to perform the following steps without the tutorial directory and am getting the following error when trying to run ./scripts/build-onnx-inference.sh

user:~/chipyard/generators/gemmini$ ./scripts/build-onnx-inference.sh
./scripts/build-onnx-inference.sh: line 3: cd: /root/chipyard/generators/gemmini/software/onnxruntime-riscv/: Permission denied
./scripts/build-onnx-inference.sh: line 5: ./build.sh: No such file or directory
./scripts/build-onnx-inference.sh: line 6: cd: ./systolic_runner/imagenet_runner/: No such file or directory
./scripts/build-onnx-inference.sh: line 7: ./build.sh: No such file or directory


Regards,
Matthew
Capture.JPG

Hasan Genc

unread,
Sep 11, 2022, 1:24:38 AM9/11/22
to chip...@googlegroups.com
Hi,

I'm not sure if you're still dealing with this issue, but I'll respond in case anyone else later runs into this :).

Try this version of the "build-onnx-inference.sh" script (from Gemmini's "dev" branch):


That should correct the path so that it works on all systems.

Regards,
Hasan


--
You received this message because you are subscribed to the Google Groups "Chipyard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chipyard+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chipyard/dce32bf8-1d22-4de9-a8af-4f5e738019ben%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages