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

podman build unable to accept gpu's when building but works for run :( #5813

Open
TheFern16 opened this issue Nov 4, 2024 · 1 comment
Open

Comments

@TheFern16
Copy link

TheFern16 commented Nov 4, 2024

$ podman run --rm --device nvidia.com/gpu=all --security-opt=label=disable ubuntu nvidia-smi -L
GPU 0: Tesla T4 (UUID: GPU-1e6d718b-e745-b765-0f63-092332c3a43a)

$ podman build --security-opt=label=disable --device=nvidia.com/gpu=all .
Error: creating build executor: getting info of source device nvidia.com/gpu=all: stat nvidia.com/gpu=all: no such file or directory

My team and I are experiencing the same issues that are referenced here: #4002

Is there a known work-around because I have not found any documentation on this, the other PRs #5443 & #5432 about this issue was also closed. I am still experiencing this :(

@nalind
Copy link
Member

nalind commented Nov 5, 2024

Please always include version information when reporting an issue. This was added in version 1.36, but I can't tell if there's a problem with the logic or in your system's configuration, or if your version of podman predates the functionality.

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

2 participants