slimtoolkit / slimtoolkit/slim

Incomplete Image Nvidia/PyTorch

Open
#306 2 comments 0 reactions 0 assignees View on GitHub

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

  1. docker pull nvcr.io/nvidia/pytorch:21.10-py3
  2. docker-slim build --target nvcr.io/nvidia/pytorch:21.10-py3 --http-probe-off
  3. docker run nvcr.io/nvidia/pytorch.slim

Specifications

  • Version: 1.37.5
  • Platform: Linux (Ubuntu)

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.