8000 Chipyard 1.10.0: ./scripts/build-onnx-training.sh errors · Issue #388 · ucb-bar/gemmini · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Chipyard 1.10.0: ./scripts/build-onnx-training.sh errors #388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
neulxf opened this issue Apr 28, 2025 · 0 comments
Open

Chipyard 1.10.0: ./scripts/build-onnx-training.sh errors #388

neulxf opened this issue Apr 28, 2025 · 0 comments

Comments

8E02
@neulxf
Copy link
neulxf commented Apr 28, 2025

Describe the bug
When I compile onnxruntime-riscv under gemmini in chipyard1.10.0, an error occurs.

Urgency

System information

  • Linux Ubuntu 20.04:
  • ONNX Runtime installed from source:
  • ONNX Runtime version: f6d2fc95463316ec47d7f832f35be03c26887922
  • Python version: 3.10.11
  • GCC/Compiler version (if compiling from source): (conda-forge gcc 12.2.0-19) 12.2.0
  • CUDA/cuDNN version:
  • GPU model and memory:

To Reproduce

  • Download Chipyard 1.10.0,
  • cd chipyard and run ./build-setup.sh riscv-tools
  • source env.sh
  • cd generators/gemmini
  • run git submodule update --init --recursive software/onnxruntime-riscv
  • run ./scripts/build-onnx-inference.sh

Expected behavior
No errors and generate ort_test in software/onnxruntime-riscv/systolic_runner/imagenet_runner/.

Screenshots

Image Image Image Image
-- ******** Summary ********
--   CMake version             : 3.26.3
--   CMake command             : /home/lxf/workspace/DeployMind/chipyard/.conda-env/bin/cmake
--   System                    : Linux
--   C++ compiler              : /home/lxf/workspace/DeployMind/chipyard/.conda-env/riscv-tools/bin/riscv64-unknown-linux-gnu-g++
--   C++ compiler version      : 12.2.0
--   CXX flags                 : -march=rv64imafdc -mabi=lp64d -ffunction-sections -fdata-sections -Wno-error=attributes -Wnon-virtual-dtor
--   Build type                : Debug
--   Compile definitions       : ENABLE_ORT_FORMAT_LOAD;EIGEN_MPL2_ONLY;PLATFORM_POSIX
--   CMAKE_PREFIX_PATH         : 
--   CMAKE_INSTALL_PREFIX      : /usr/local
--   CMAKE_MODULE_PATH         : /home/lxf/workspace/DeployMind/chipyard/generators/gemmini/software/onnxruntime-riscv/cmake/external
-- 
--   ONNX version              : 1.9.0
--   ONNX NAMESPACE            : onnx
--   ONNX_USE_LITE_PROTO       : ON
--   USE_PROTOBUF_SHARED_LIBS  : OFF
--   ONNX_DISABLE_EXCEPTIONS   : OFF
--   ONNX_WERROR               : OFF
--   ONNX_BUILD_TESTS          : OFF
--   ONNX_BUILD_BENCHMARKS     : OFF
--   ONNXIFI_DUMMY_BACKEND     : OFF
--   ONNXIFI_ENABLE_EXT        : OFF
-- 
--   Protobuf compiler         : 
--   Protobuf includes         : 
--   Protobuf libraries        : 
--   BUILD_ONNX_PYTHON         : OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0