slimtoolkit / slimtoolkit/slim
Incomplete Image Nvidia/PyTorch
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.4k
- Forks
- 840
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
A fully working image (just as the original)
Actual Behavior
The size reduced nicely, but it's not working.
-> docker run nvcr.io/nvidia/pytorch.slim
/etc/shinit_v2: line 42: dpkg: command not found
/opt/nvidia/nvidia_entrypoint.sh: line 30: readlink: command not found
/opt/nvidia/nvidia_entrypoint.sh: line 30: dirname: command not found
/etc/shinit_v2: line 42: dpkg: command not found
Steps to Reproduce the Problem
docker pull nvcr.io/nvidia/pytorch:21.10-py3docker-slim build --target nvcr.io/nvidia/pytorch:21.10-py3 --http-probe-offdocker run nvcr.io/nvidia/pytorch.slim
Specifications
- Version: 1.37.5
- Platform: Linux (Ubuntu)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the listed docker pull, docker-slim build, and docker run commands, then compare the slim image with the original. Inspect the missing commands reported by /etc/shinit_v2 and /opt/nvidia/nvidia_entrypoint.sh. Done means the slim image starts without the dpkg, readlink, or dirname errors and remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, linux, pytorch
- Domain
- devops, infrastructure, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100