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.10/files/ngcsdk-4.34.10-py3-none-any.whl -O ngcsdk-4.34.10-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.10-py3-none-any.whl
Then compare with the following value, which can also be found in the Release Notes of the Resource:
dddc66d0f995f5975ad72e4ee7c1ca32efac8d8adfe08d3172c8892e9c0f9951
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.10-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.10/files/ngcsdk-4.34.10.tar.gz -O ngcsdk-4.34.10.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.10.tar.gz
Then compare with the following value, which can also be found in the Release Notes of the Resource:
8dc1086b0b16424000dbeb9c80ffa2363d2848b9da8b6e47c1f66ba669b11d13
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.10.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>")