Skip to content

Resource Requirements

License Keys

Hybrid Mode

The following licenses and keys are required for deploying Model Scanner CLI in Hybrid mode. If your organization doesn't have a license, contact HiddenLayer for more information.

  • Model Scanner License Key: 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 Model Scanner 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.

  • API Client ID and Client Secret: HiddenLayer API Client ID and Client Secret to interact with the AISec Platform Console. Get these from the Console or your Console Admin.

Disconnected Mode

The following licenses and keys are required for deploying Model Scanner CLI in Disconnected mode. If your organization doesn't have a license, contact HiddenLayer for more information.

  • Model Scanner License Key: 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 Model Scanner 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.
API Keys for Disconnected Mode Not Required

Disconnected mode does not require an API Client ID and Secret.

Tools

The following tools are required for deploying the Model Scanner 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: Docker Desktop is used to deploy the container.

  • kubectl: The official Kubernetes CLI tool, used to issue commands to your Kubernetes cluster.

Hybrid and Disconnected modes

The tool requirements apply to both Hybrid and Disconnected modes.

Resource Examples

The following are resource management examples for the Model Scanner k8s Docker job, based on the model type. The below stats are with default behavior.

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 TypeMax RSS RAMLargest File TestedDuration
GGUF40 MB4 GB16.6 sec
Keras375 MB3.2 GB49.7 sec
Nemo130 MB2.31 GB24.8 sec
Numpy92 MB11.73 GB3 min 11 sec
Onnx2.3 GB1.52 GB10.5 sec
Pickle ✳150 MB10 GB1 min 35 sec
PyTorch65 MB9.26 GB1 min 33 sec
RDS52 MB3.94 GB38 sec
Safetensor260 MB9.26 GB1 min 28 sec
skops41 MB1.21 GB41 sec
Varying Memory Usage

✳ Memory usage depends on the Pickle file encoding. A minimum of 16 GB RAM is recommended.