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.20.1/files/ngcsdk-4.20.1-py3-none-any.whl -O ngcsdk-4.20.1-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.20.1-py3-none-any.whl

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

92a7e8626c0619f1af0085fa88d94c03be14d97762cbae1f7169bd54f43c003c

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.20.1-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.20.1/files/ngcsdk-4.20.1.tar.gz -O ngcsdk-4.20.1.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.20.1.tar.gz

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

e5d82f9e7a2ed0b9d6f7b2acd3701928da5f615fa8c32b8c9f8cfbdac26f93fb

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.20.1.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.