Nvidia
Nvidia
NGC Python SDK
Resource
Nvidia
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.34.7/files/ngcsdk-4.34.7-py3-none-any.whl -O ngcsdk-4.34.7-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.34.7-py3-none-any.whl

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

ea066695312e12aa488340bf99d2899d2f576e9ab0a0dbf07c00dc57e714ad25

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.34.7-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.34.7/files/ngcsdk-4.34.7.tar.gz -O ngcsdk-4.34.7.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.34.7.tar.gz

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

8b800448042b5d4a8f1b479866565654bb87ac5b3ab566e26f652979efe0d8b8

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.34.7.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>")