> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiddenlayer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Resource Requirements

## License Keys

### Hybrid Mode

The following licenses and keys are required for deploying AI Supply Chain Security CLI in Hybrid mode. If your organization doesn't have a license, contact [HiddenLayer](https://hiddenlayer.com/book-a-demo/) for more information.

* **HiddenLayer product license**: HiddenLayer Support will provide you with a license key. This key is required to start the LLM proxy container, and it will not run without a valid key. The license can be set as an environment variable and the installer will not run without the license being set as a value.
* **Credentials to download Supply Chain container**: Credentials for the HiddenLayer container repository are required to download the appropriate images. These can also be obtained from HiddenLayer Support or from your HiddenLayer technical contact.
* **Client credential**: A HiddenLayer client ID and client secret to interact with the HiddenLayer Console. [Create a client credential](https://docs.hiddenlayer.ai/docs/products/console/apikey_aisec_platform.md#create-a-client-credential) in the Console, or get one from your Console Admin.

  * Link to the [US Console](https://console.us.hiddenlayer.ai/)
  * Link to the [EU Console](https://console.eu.hiddenlayer.ai/)

### Disconnected Mode

The following licenses and keys are required for deploying Supply Chain CLI in Disconnected mode. If your organization doesn't have a license, contact [HiddenLayer](https://hiddenlayer.com/book-a-demo/) for more information.

* **HiddenLayer product license**: HiddenLayer Support will provide you with a license key. This key is required to start the LLM proxy container, and it will not run without a valid key. The license can be set as an environment variable and the installer will not run without the license being set as a value.
* **Credentials to download Supply Chain container**: Credentials for the HiddenLayer container repository are required to download the appropriate images. These can also be obtained from HiddenLayer Support or from your HiddenLayer technical contact.

> [!NOTE]
>
> **Client Credential Not Required for Disconnected Mode**
>
> Disconnected mode does not require a client credential.

## Tools

The following tools are required for deploying the Supply Chain CLI locally on your system.

* **Computer system**: With a minimum of 8 CPU cores and 16GB memory (most modern laptops).

  * Performance will vary based on resources. Typically, the more resources the better the performance.

* [**Docker Desktop**](https://docs.docker.com/engine/install/): Docker Desktop is used to deploy the container.

* [**kubectl**](https://kubernetes.io/docs/tasks/tools/): The official Kubernetes CLI tool, used to issue commands to your Kubernetes cluster.

> [!NOTE]
>
> **Hybrid and Disconnected modes**
>
> The tool requirements apply to both Hybrid and Disconnected modes.

## Resource Examples

The following are resource management examples for the Supply Chain Kubernetes Docker job, based on the model type. The below stats are with default behavior.

> [!NOTE]
>
> **Notes**
>
> * The examples below do not include the time it takes to download the model file because download speeds can vary.
> * A compute system with 12 CPU threads, 16GB RAM, and 100GB disk space was used to obtain these stats. These are not system requirements but are provided as a reference.

| Model Type | Max RSS RAM | Largest File Tested | Duration |
| - | - | - | - |
| GGUF | 40 MB | 4 GB | 16.6 sec |
| Keras | 375 MB | 3.2 GB | 49.7 sec |
| Nemo | 130 MB | 2.31 GB | 24.8 sec |
| Numpy | 92 MB | 11.73 GB | 3 min 11 sec |
| Onnx | 2.3 GB | 1.52 GB | 10.5 sec |
| Pickle ✳ | 150 MB | 10 GB | 1 min 35 sec |
| PyTorch | 65 MB | 9.26 GB | 1 min 33 sec |
| RDS | 52 MB | 3.94 GB | 38 sec |
| Safetensor | 260 MB | 9.26 GB | 1 min 28 sec |
| skops | 41 MB | 1.21 GB | 41 sec |

> [!NOTE]
>
> **Varying Memory Usage**
>
> ✳ Memory usage depends on the Pickle file encoding. A minimum of 16 GB RAM is recommended.
