Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/nvidia-ctk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
```
(Note that `sudo` is used to ensure the correct permissions to write to the `/etc/cdi` folder)

With the specification generated, a GPU can be requested by specifying the fully-qualified CDI device name. With `podman` as an exmaple:
With the specification generated, a GPU can be requested by specifying the fully-qualified CDI device name. With `podman` as an example:
```bash
podman run --rm -ti --device=nvidia.com/gpu=gpu0 ubuntu nvidia-smi -L
```
2 changes: 1 addition & 1 deletion tests/e2e/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (r remoteRunner) Run(script string) (string, string, error) {
return stdout.String(), "", nil
}

// Run runs teh specified script in the container using the docker exec command.
// Run runs the specified script in the container using the docker exec command.
// The script is is run as the root user.
func (r nestedContainerRunner) Run(script string) (string, string, error) {
return r.runner.Run(`docker exec -u root "` + r.containerName + `" bash -c '` + script + `'`)
Expand Down