Skip to content

Commit

Permalink
Merge branch 'log-requested-mode' into 'main'
Browse files Browse the repository at this point in the history
Log explicitly requested runtime mode

See merge request nvidia/container-toolkit/container-toolkit!527
  • Loading branch information
Evan Lezar authored and elezar committed Jan 11, 2024
1 parent 7566eb1 commit cc688f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Include `nvidia/nvoptix.bin` in list of graphics mounts.
* Include `vulkan/icd.d/nvidia_layers.json` in list of graphics mounts.
* Fixed bug in `nvidia-ctk config` command when using `--set`. The types of applied config options are now applied correctly.
* Log explicitly requested runtime mode.

## v1.14.3
* [toolkit-container] Bump CUDA base image version to 12.2.2.
Expand Down
1 change: 1 addition & 0 deletions internal/info/auto.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func ResolveAutoMode(logger logger.Interface, mode string, image image.CUDA) (rm
// resolveMode determines the correct mode for the platform if set to "auto"
func (r resolver) resolveMode(mode string, image image.CUDA) (rmode string) {
if mode != "auto" {
r.logger.Infof("Using requested mode '%s'", mode)
return mode
}
defer func() {
Expand Down

0 comments on commit cc688f7

Please sign in to comment.