/var/lib/manylayers-agent/models/, readable only by the agent’s user). The console’s Models panel and the manylayers CLI read and write the same registry.
Download a model
From the node page, under Downloaded models, choose what to download (GGUF · Hugging Face, HF snapshot, Large models, GGUF · Alibaba’s hub or GGUF · Ollama) and pick a model from the dropdown. Large models lists the huge mixture-of-experts models from the catalog’s Large tab (the ones Colibri and llama.app list), largest first, GGUF and safetensors together; picking one downloads its GGUF files when it has them (with the Quantization dropdown), else its full snapshot. These are hundreds of GB, so check the node’s free disk first. For Alibaba’s hub (ModelScope) and Ollama you pick a model and then a Variant; the node downloads that single GGUF file over https and checks it against its published SHA-256 (these models cannot be typed by name, only picked). With nothing typed it lists the ManyLayers picks; type to search Hugging Face. Only models published in the selected type’s format (GGUF or safetensors) are shown. Chips at the top of the dropdown narrow it to a model type (LLM, Vision, Audio, Embedding). Each row lists the model’s quantizations: for GGUF the quantizations in the repository, smallest first (click one to pick that variant); for a snapshot its quantization method (AWQ, GPTQ, FP8) or weight type (BF16). For a GGUF model, a Quantization dropdown then lists the model’s quantizations with their sizes, and the recommended one is selected for you. You can still type a full reference (owner/model:QUANT) or paste an https link to a .gguf file. Searching the catalog needs the deployer.models.read permission; without it the field is a plain text box.
Or send DOWNLOAD_MODEL yourself:
Downloads can run for up to 12 hours and can be cancelled. A stopped download is marked
incomplete and resumes on the next attempt: click Resume on its row in Downloaded models (shown for incomplete and failed models, to members with deployer.nodes.manage), or in the notice that says the download stopped. Resume sends the same download again, and the node continues from the partial files it kept. A download that failed its checksum starts over, since its partial file was discarded. The live log shows the repository and quantization chosen, the size against free disk, each file’s progress every 10%, the checksum result and Done, Stopped or Failed: <reason>.
Two kinds of download
A snapshot is always asked for explicitly, in the console’s HF snapshot option, by picking a Large models entry that has no GGUF files, or with
manylayers pull --snapshot. It is never a fallback for a repository without GGUF files, because it is several times the size of a quantized GGUF.
What a snapshot takes:
- Weights: the shards named in
model.safetensors.index.jsonwhen there is one. Otherwisemodel.safetensors, or every top-level.safetensorsfile exceptconsolidated*copies. - Not fetched: PyTorch
.bincopies, GGUF and ONNX exports, READMEs, and anything below the repository’s top level. Every file lands flat in the model’s directory, the layout the GPU engines load from. - Refused: a repository without
config.jsonor without safetensors weights, with the reason in the log. So is a weight index that names a missing file or a path outside the top level.
architecture comes from config.json (model_type, such as qwen2). Its quantization is the quantization method (AWQ, GPTQ, FP8) or the weight type (BF16, F16). Snapshots are deployed with vLLM or SGLang on nodes with an NVIDIA GPU.
The model record
Inspect a model
GET_MODEL_INFO returns the record and the model’s metadata. For GGUF it comes from the header: architecture, name, parameter count, weight type, context length, layers, tensors and license. For a snapshot it comes from config.json: architecture, model classes (Qwen2ForCausalLM), weight type, quantization method, context length, layers and attention heads. With verify_checksums: true it re-reads every file and compares SHA-256s; the console sends that with timeout_seconds: 300.
LIST_MODELS checks file sizes and returns the registry and free disk. Large registries are cut to fit the result limit and marked truncated with a total.
Filesystem safety
- A model ID never becomes a path; the agent matches it against the directory listing.
- Every read is confined to the models directory, so no name,
..or symbolic link can reach outside it. Symlinked models or files are ignored or reportedmissing. - Model records are treated as untrusted input and size-checked.
- Results report file names only, never host paths.