Fix nvidia-smi access over ssh



    Ken Malley

    The code copies the nvidia-smi library from /usr/lib/wsl/lib to /usr/bin and sets the permissions so that the library can be executed by the user "ogu+x".

    cp /usr/lib/wsl/lib/nvidia-smi /usr/bin/nvidia-smi
    chmod ogu+x /usr/bin/nvidia-smi
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.