Input file is not found
EXPAND to see symptom, cause, and solution.
EXPAND to see symptom, cause, and solution.
Symptom
After invoking AI Supply Chain Security CLI, with a single input file.Supply Chain VersionExamples use the Supply Chain CLI image from Deploy Supply Chain CLI.
Causes
- The volume mount may not be specified correctly.
- The volume mount is specified correctly, but the file specified in the
--inputargument doesn’t exist.
Resolution
- Ensure the volume mount(s) are specified according to the Volume Mounts section.
- Ensure the
--input argumentis an absolute path to a file or directory on the mounted volume from the container’s perspective.
Not Enough Disk Space
EXPAND to see symptom, cause, and solution.
EXPAND to see symptom, cause, and solution.
Symptom
When scanning a model from Hugging Face, you will receive a Docker error message, an event failure message, or see a number of failed file scans.- Docker error message:
"error": "write {{path/to/file}}: no space left on device" - Error message:
"error": "write {{path/to/file}}: no space left on device" - Failed event:
“event”: “failed to download from input URI” - Some of the file is downloaded but fails to be written to disk
- Failed to scan:
“files_failed_to_scan”: {{integer}} - Part of the scan summary
Causes
When scanning a model from Hugging Face, all files are downloaded from the Hugging Face repository and then scanned. If there is not enough disk space to store the repository files, the scan fails.Resolution
Free up disk space and run the scan again.Populated output with empty scan result
EXPAND to see symptom, cause, and solution.
EXPAND to see symptom, cause, and solution.
Symptom
After invoking Supply Chain CLI, scan results are returned, but the results key is empty.Cause
- Supply Chain CLI does not recognize the model type.
Resolution
- This is expected behavior if Supply Chain CLI does not support the given model’s type.
- If Supply Chain CLI does support the input model’s type, please contact HiddenLayer Support for next steps.
Product License is Missing
EXPAND to see symptom, cause, and solution.
EXPAND to see symptom, cause, and solution.
Symptom
After invoking Supply Chain CLI, an error message is displayed like the below:Cause
- Supply Chain CLI requires a valid product license to be provided in the HL_LICENSE environment variable with the argument
-e HL_LICENSE.
Resolution
- Contact your HiddenLayer representative to obtain a valid product license. Then provide the license key in the HL_LICENSE environment variable or pass.
Log Level
EXPAND to see symptom, cause, and solution.
EXPAND to see symptom, cause, and solution.
About Log Content
- Log content is generally only useful for debugging and understanding error conditions.
- Log content is not fixed and may vary between versions of Supply Chain CLI.
- Customers should not rely on the presence, or absence, of specific log messages or content.
Default
- Supply Chain CLI’s default log level is
error. - This level is relatively terse; it causes Supply Chain CLI to only emit the most important log messages during execution.
Change the Default
- In order to troubleshoot usage scenarios, it is possible to change the log level to a more verbose level using the
HL_LOG_LEVELenvironment variable. Example: Set to Debug

