Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia-smi remove deprecated arguments #477

Open
jz543fm opened this issue Apr 25, 2024 · 3 comments
Open

nvidia-smi remove deprecated arguments #477

jz543fm opened this issue Apr 25, 2024 · 3 comments

Comments

@jz543fm
Copy link

jz543fm commented Apr 25, 2024

NVIDIA System Management Interface -- v545.23.08

There are deprecated args in nvidia-smi for example:

$ nvidia-smi nvlink

    nvlink -- Display NvLink information.

    Usage: nvidia-smi nvlink [options]

    Options include:
    [-h | --help]: Display help information
    [-i | --id]: Enumeration index, PCI bus ID or UUID.

    [-l | --link]: Limit a command to a specific link.  Without this flag, all link information is displayed.
    [-s | --status]: Display link state (active/inactive).
    [-c | --capabilities]: Display link capabilities.
    [-p | --pcibusid]: Display remote node PCI bus ID for a link.
    [-R | --remotelinkinfo]: Display remote device PCI bus ID and NvLink ID for a link.
    [-sc | --setcontrol]: Setting counter control is deprecated!
    [-gc | --getcontrol]: Getting counter control is deprecated!
    [-g | --getcounters]: Getting counters using option -g is deprecated. 
Please use option -gt/--getthroughput instead.
    [-r | --resetcounters]: Resetting counters is deprecated!
    [-e | --errorcounters]: Display error counters for a link.
    [-ec | --crcerrorcounters]: Display per-lane CRC error counters for a link.
    [-re | --reseterrorcounters]: Reset all error counters to zero.
    [-gt | --getthroughput]: Display link throughput counters for specified counter type
       The arguments consist of character string representing the type of traffic counted:
          d: Display tx and rx data payload in KiB
          r: Display tx and rx data payload and protocol overhead in KiB if supported

    [-sLowPwrThres | --setLowPowerThreshold]: Set NvLink Low Power Threshold (value in units of 100us/default)
    [-gLowPwrInfo | --getLowPowerInfo]: Get NvLink Low Power Info
    [-sBwMode | --setBandwidthMode]: Set NvLink Bandwidth mode
    [-gBwMode | --getBandwidthMode]: Get NvLink Bandwidth mode
    [-cBridge | --checkBridge]: Check NvLink Bridge presence
@elezar
Copy link
Member

elezar commented May 7, 2024

@jz543fm I don't think this is relevant to the NVIDIA Container Toolkit. Could you provide more context on how this can be achieved here?

@jz543fm
Copy link
Author

jz543fm commented May 8, 2024

It is not relevant to have deprecated arguments in nvidia-smi?
I do not understand you, I have not checked all options in nvidia-smi but there are deprecated options, I understand that it does not affect the functionality of toolkit but on other hand it is deprecated and redudant in args

@elezar
Copy link
Member

elezar commented May 8, 2024

My question was whether you had a specific reason to open the issue against this repository. The NVIDIA Container Toolkit makes nvidia-smi available in a container by injecting it from the host and does not control the options displayed.

I will see if there is a more appropriate place to report this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants