Skip to content

Document the cppzmq workaround for Ubuntu 22.04 / JetPack 6 - #47

Closed
ravediamond wants to merge 1 commit into
VinRobotics:mainfrom
ravediamond:docs/jetpack6-cppzmq
Closed

ravediamond wants to merge 1 commit into
VinRobotics:mainfrom
ravediamond:docs/jetpack6-cppzmq

Conversation

@ravediamond

Copy link
Copy Markdown
Contributor

What

A short note under the server prerequisites in the README: on Ubuntu 22.04 / JetPack 6, cppzmq-dev isn't packaged, so drop it from the apt line, put zmq.hpp and zmq_addon.hpp from cppzmq v4.10.0 in a directory, and pass -DCPPZMQ_INCLUDE_DIR=<dir>. CMake already honours that variable through find_path.

Why

The apt line fails on JetPack 6 (apt-cache policy cppzmq-dev: no candidate), and docs/PREBUILT.md sends JetPack 6 users to build from source. I mentioned it in #31. If you'd rather have a CMake fallback (FetchContent of the header when find_path fails), I can do that instead.

Verified

  • Builds clean under -Wall -Wextra (first-party code)
  • ctest passes
  • Numeric output unchanged (vla_predict_check diff), or the change is
    meant to move it and a LIBERO sweep is below

Docs only. On a Jetson Orin NX (JetPack 6.2, Ubuntu 22.04) at cff0cfb: clean build dir, -DVLA_BUILD_SERVER=ON -DCPPZMQ_INCLUDE_DIR=<dir> -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=87, vla-server builds and starts.

Archs and backends tested: none (no code change)

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

Successfully merging this pull request may close these issues.

2 participants