Estima a memória de GPU necessária para executar um modelo do Hugging Face (pesos, KV cache e overhead de inferência) e se ele cabe nas GPUs indicadas, sem baixá-lo. Use quando perguntarem quanta VRAM um modelo precisa, se ele cabe em uma GPU, qual o maior contexto que cabe ou qual quantização GGUF escolher.
Compatibilidade
Pelo seu gateway Versatile, qualquer cliente MCP carrega as instruções desta skill. Se ele também consegue fazer o trabalho depende do que a skill precisa e do que o cliente executa.
Requer
- uv
- Rede
| Cliente | Funciona | Por quê | Lê SKILL.md nativamente |
|---|---|---|---|
| Claude Code | Completo | Tem tudo o que esta skill precisa | Sim |
| Codex CLI | Completo | Tem tudo o que esta skill precisa | Sim |
| Cursor | Completo | Tem tudo o que esta skill precisa | Sim |
| Gemini CLI | Completo | Tem tudo o que esta skill precisa | Sim |
| VS Code Copilot | Completo | Tem tudo o que esta skill precisa | Sim |
| opencode / oh-my-pi | Completo | Tem tudo o que esta skill precisa | Sim |
| Claude Desktop | Só as instruções | Não executa comandos, Não acessa a web | Sim |
| ChatGPT and other chat-only MCP clients | Só as instruções | Não executa comandos, Não acessa a web | Não |
Como determinamos isso
Nada aqui foi executado ou testado. Cada veredito é derivado dos arquivos da própria skill e de uma tabela fixa de regras, então leia como uma previsão, não uma garantia.
Da skill lemos as ferramentas que o frontmatter permite, as linguagens dos scripts que ela traz, os comandos que cita no código, o uso de rede e os servidores MCP que espera.
De cada cliente usamos três coisas que ele faz na sua máquina sem servidores extras: executar comandos, ler e gravar arquivos e acessar a web. A busca embutida de um app de chat não conta, porque uma skill não consegue acioná-la.
Completo significa que o cliente faz tudo o que a skill precisa. Só as instruções significa que ele carrega e segue o texto, mas não tem uma capacidade que a skill usa. Não significa que a skill traz código e o cliente não consegue executá-lo.
- Alternativas
- 3 skills parecidas unidas a esta
--- name: hf-mem description: Estimate the GPU memory needed to run a Hugging Face model (weights, KV cache and inference overhead) and whether it fits on given GPUs, without downloading it. Use when asked how much VRAM a model needs, whether it fits on a GPU, the longest context that fits, or which GGUF quantization to pick. license: mit --- # hf-mem ```bash uvx hf-mem <model> -o json [options] ``` `<model>` is a Hub ID (`org/name`, `org/name@revision`), a Hub URL, a local path, or `org/name-GGUF:Q4_K_M` for one GGUF quantization. Options: - `--gpu-memory 24` (GiB per GPU) or `8x80` (8 GPUs): adds `fit`. - `--max-model-len N`: context length, defaults to the model's maximum, which can dominate the total. - `--batch-size N`: concurrent sequences, defaults to 1. - `--kv-cache-dtype fp8` (vLLM names for Safetensors, llama.cpp cache types such as `q8_0` for GGUF). - `--file <file or variant>` and `--format safetensors|gguf|onnx` to pick the weights. - `--max-num-batched-tokens 2048` on A100s. - Gated or private models need `HF_TOKEN` or `--hf-token`. JSON (sizes in bytes, divide by 2^30 for GiB): - `total` is the GPU memory for one copy of the model: `weights` + `kv_cache` + `overhead` (vLLM for Safetensors, llama.cpp for GGUF, none for ONNX). - `offloaded` are weights the engine keeps in CPU memory: excluded from `weights` and `total`, but needed as free system RAM. - `fit` (with `--gpu-memory`): `fits`, `needed` GPUs, `max_model_len` (the longest context that fits), and the `required` vs `usable` memory across the given GPUs. Use `required` / GPUs for the memory per GPU, not `total` / GPUs, as each GPU also holds its own overhead and replicated KV cache. - GGUF and ONNX repositories with several files return a `files` list to compare quantizations; pick one with `:TAG` or `--file` to get `fit`. - Report `warnings` to the user, and errors explain how to fix them.
1 arquivos, 1,9 KB
- SKILL.md1,9 KB
- Licença
- MITencontrada em SKILL.md frontmatter
- Listagem
- Baixar o YAML
Gateway na porta 7465 alterar
Fica salvo só neste navegador.
Ainda não tem o gateway? Cole isto no seu terminal e clique em Importar de novo.
git clone https://github.com/versatile-sh/connector-engine && cd connector-engine && make upImportar abre o seu próprio gateway em uma nova aba; esta página nunca se conecta a ele. Como funciona