Skip to main content
Nvidia
NGC Python SDK
Resource
Nvidia
NGC Python SDK

NGC Python SDK

  • Python Wheel

    The NGC SDK Python Wheel allows for installation of the package to your local Python versions 3.10 or greater.

    Download the SDK Wheel by clicking the Download button, or also download with wget.

    $ wget --content-disposition https://api.ngc.nvidia.com/v2/resources/nvidia/ngc-apps/ngc_sdk/versions/4.36.6/files/ngcsdk-4.36.6-py3-none-any.whl -O ngcsdk-4.36.6-py3-none-any.whl
    

    Then check the Wheel's SHA256 hash to ensure the file wasn't corrupted during download. Run the following command to get the SHA256 hash:

    $ Get-FileHash ngcsdk-4.36.6-py3-none-any.whl
    

    Then compare with the following value, which can also be found in the Release Notes of the Resource:

    8cf4ce3bd071b3d2e24d40f2c66abc2c2b49022b53d400a2eb9fe6018fe3f343
    

    After verifying value, launch a bash shell or terminal (Windows Powershell, Linux Console, Bash Shell, Mac's Terminal, etc.) and enter the following command:

    $ pip install --no-cache-dir ngcsdk-4.36.6-py3-none-any.whl
    

    You must configure NGC SDK for your use so that you can run the commands. Enter the following to do so.

    from ngcsdk import Client
    client = Client()
    client.configure(api_key="<YOUR-API-KEY>", org_name="<ORG-NAME>", team_name="<TEAM-NAME>", ace_name="<ACE-NAME>")
    

    Tar GZ File

    The NGC SDK Tar Gz file allows for installation of the package to your local machine.

    Download the Tar Gz file, by clicking the Download button, or also download with wget.

    $ wget --content-disposition https://api.ngc.nvidia.com/v2/resources/nvidia/ngc-apps/ngc_sdk/versions/4.36.6/files/ngcsdk-4.36.6.tar.gz -O ngcsdk-4.36.6.tar.gz
    

    Then check the file's SHA256 hash to ensure the file wasn't corrupted during download. Run the following command to get the SHA256 hash:

    $ Get-FileHash ngcsdk-4.36.6.tar.gz
    

    Then compare with the following value, which can also be found in the Release Notes of the Resource:

    f69ac7294a2bc6cecf3e012495471455a40bfd7462470fd2b10d15f6e615372d
    

    After verifying value, launch a bash shell or terminal (Windows Powershell, Linux Console, Bash Shell, Mac's Terminal, etc.) and enter the following command:

    $ tar -xf ngcsdk-4.36.6.tar.gz
    

    You must configure NGC SDK for your use so that you can run the commands. Enter the following to do so.

    from ngcsdk import Client
    client = Client()
    client.configure(api_key="<YOUR-API-KEY>", org_name="<ORG-NAME>", team_name="<TEAM-NAME>", ace_name="<ACE-NAME>")
    

    NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.