Skip to content

[Question]: Avoid retrying nvidia-ctk cdi generate on platforms without Nvidia GPUs #1624

@fbq

Description

@fbq

I have a scenario where we build the same Linux image for both platforms with and without Nvidia GPUs, because we want to avoid duplication. But since 4335df0, IIUC, the nvidia-cdi-refresh.service will keep loading Nvidia drivers if there is no Nvidia GPU and generate a lot of error logs that noise out meaningful information in the logs. Would there be a way for this "Restart" behavior to be configurable? Via a config or ENV? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionCategorizes issue or PR as a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions