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