Skip to content
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

add missing python dev dependencies #376

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

andiradulescu
Copy link
Collaborator

@andiradulescu
Copy link
Collaborator Author

keeping this as draft until I see it working correctly (uv...)

@andiradulescu andiradulescu changed the title add openpilot[dev] add missing python dev dependencies Sep 17, 2024
@robin-reckmann
Copy link
Contributor

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/data/openpilot/tinygrad_repo/tinygrad/runtime/ops_gpu.py", line 6, in <module>
    import pyopencl as cl  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/venv/lib/python3.12/site-packages/pyopencl/__init__.py", line 29, in <module>
    import pyopencl.cltypes  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/venv/lib/python3.12/site-packages/pyopencl/cltypes.py", line 25, in <module>
    from pyopencl.tools import get_or_register_dtype
  File "/usr/local/venv/lib/python3.12/site-packages/pyopencl/tools.py", line 138, in <module>
    from pyopencl._cl import bitlog2, get_cl_header_version  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: /usr/local/venv/lib/python3.12/site-packages/pyopencl/_cl.cpython-312-aarch64-linux-gnu.so: undefined symbol: clEnqueueSVMMigrateMem

Copy link

✅ AGNOS update 11-c0c55a1 ready

In an openpilot branch, download agnos.json in system/hardware/tici/ and update AGNOS_VERSION to "11-c0c55a1" in launch_env.sh.

For flashing locally, download and unarchive the images in agnos-builder/output and flash with ./flash_all.sh.

Images:

Stats:

3.7G	/
663M	/usr/local/venv
836M	/usr/lib/aarch64-linux-gnu
338M	/usr/lib/llvm-18
155M	/usr/lib/arm-linux-gnueabihf
321M	/usr/share
283M	/usr/bin
166M	/usr/comma

@andiradulescu andiradulescu marked this pull request as ready for review September 18, 2024 11:27
@adeebshihadeh adeebshihadeh merged commit 999a7c1 into commaai:master Sep 18, 2024
2 checks passed
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.

3 participants