Currently if you pass an invalid (404) address for import the error reports mentions invalid safetensors file which is not right:
apr import hf://invalid/model --output invalid.apr
=== APR Import Pipeline ===
Source: hf:// (HuggingFace)
Organization: invalid
Repository: model
Output: invalid.apr
Architecture: Auto
Validation: Strict
Importing...
✗ Import failed
error: Validation failed: Invalid model format: HuggingFace model not found in cache. Download manually:
huggingface-cli download invalid/model model.safetensors
Or provide a local path to the SafeTensors file.
Currently if you pass an invalid (404) address for import the error reports mentions invalid safetensors file which is not right: