ros2 / ros2/rosidl_buffer_backends

`libtorch_vendor` is missing `libtorch_cuda.so`

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
15
Forks
4
Avg merge
8h 24m
Merged PRs (30d)
1

Description

Generated by Generative AI

No.

Operating System:

irrelevant

ROS version or commit hash:

lyrical

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output
ros2 doctor --report
<COPY OUTPUT HERE>
Steps to reproduce issue
  1. install ros-lyrical-libtorch-vendor
  2. dpkg -L ros-lyrical-libtorch-vendor | grep lib/libtorch_
  3. see that libtorch_cuda.so is missing
Expected behavior

The package should contain the libraries from https://pytorch.org/get-started/locally/.

Actual behavior

libtorch_cuda.so is missing

Additional information

I assume that the buildfarm does not detect a CUDA installation as this is not a dependency of the package. Please depend on the cuda-toolkit package to have CUDA installed as dependency.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the package metadata and build configuration for ros-lyrical-libtorch-vendor, then reproduce the issue with dpkg -L and grep for lib/libtorch_. Compare the package contents with the libraries provided by the linked PyTorch distribution and verify how CUDA availability and package dependencies are handled. Done means the package includes libtorch_cuda.so when expected and its dependency metadata is correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.