mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-24 21:14:00 +00:00
Merge branch 'log-requested-mode' into 'main'
Log explicitly requested runtime mode See merge request nvidia/container-toolkit/container-toolkit!527
This commit is contained in:
parent
7566eb124a
commit
cc688f7c75
@ -4,6 +4,7 @@
|
|||||||
* Include `nvidia/nvoptix.bin` in list of graphics mounts.
|
* Include `nvidia/nvoptix.bin` in list of graphics mounts.
|
||||||
* Include `vulkan/icd.d/nvidia_layers.json` 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.
|
* 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
|
## v1.14.3
|
||||||
* [toolkit-container] Bump CUDA base image version to 12.2.2.
|
* [toolkit-container] Bump CUDA base image version to 12.2.2.
|
||||||
|
@ -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"
|
// resolveMode determines the correct mode for the platform if set to "auto"
|
||||||
func (r resolver) resolveMode(mode string, image image.CUDA) (rmode string) {
|
func (r resolver) resolveMode(mode string, image image.CUDA) (rmode string) {
|
||||||
if mode != "auto" {
|
if mode != "auto" {
|
||||||
|
r.logger.Infof("Using requested mode '%s'", mode)
|
||||||
return mode
|
return mode
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user