MarvinLabs vram_fit
GPU memory measurements for QLoRA fine-tuning of gemma-3-4b-it on AMD and NVIDIA cards
MarvinLabs vram_fit is an MCP server for ai models and llm tooling. It runs as a hosted remote server, so there is nothing to install locally.
- Platforms
- API, Web
- Runs
- Remotely
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http vram-fit https://marvinlabs.org/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"vram-fit": {
"type": "http",
"url": "https://marvinlabs.org/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://marvinlabs.org/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"vram-fit": {
"url": "https://marvinlabs.org/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"vram-fit": {
"type": "http",
"url": "https://marvinlabs.org/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://marvinlabs.org/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add vram-fit --url https://marvinlabs.org/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.vram-fit]
url = "https://marvinlabs.org/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://marvinlabs.org/mcpEnter a Name (for example "MarvinLabs vram_fit"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"vram-fit": {
"type": "http",
"url": "https://marvinlabs.org/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "vram-fit": { "httpUrl": "https://marvinlabs.org/mcp" } } }Or run: gemini mcp add -s user --transport http vram-fit https://marvinlabs.org/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "vram-fit": { "serverUrl": "https://marvinlabs.org/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "vram-fit": { "url": "https://marvinlabs.org/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "vram-fit": { "type": "streamableHttp", "url": "https://marvinlabs.org/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "vram-fit": { "url": "https://marvinlabs.org/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "vram-fit": { "url": "https://marvinlabs.org/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "vram-fit": { "url": "https://marvinlabs.org/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "vram-fit": { "url": "https://marvinlabs.org/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About MarvinLabs vram_fit
The data behind this server comes from a hands-on training program rather than a spec sheet. It records peak GPU memory for fine-tuning unsloth/gemma-3-4b-it with 4-bit nf4 QLoRA on a single 8 GB NVIDIA consumer card, with a second NVIDIA card and a 24 GB AMD Radeon RX 7900 XTX used for one-step probes.
Each row notes the mode (a full training run, a one-step probe or a model load), LoRA rank, dropout, DoRA, sequence length and peak memory, along with out-of-memory failures and what each fix saved, for example moving the language-model head to bf16 cut pre-training use from 4502 MB to 3221 MB. A calibration section scales probe results by a measured over-estimate of about 4.7 percent against a real run.
The page lists ranks up to 128 and sequence lengths up to 16384 for the AMD card, and flags a case where Windows spilled into shared memory and ran about four times slower. The registry describes the server as returning fit verdicts for that model on your GPU. The measurements are for one model and recipe.
What it does
- Measured peaks
- Peak VRAM by rank, dropout, DoRA, bf16 and sequence length.
- Failure records
- OOM cases with allocation sizes.
- Cross-GPU probes
- One-step probes on an AMD RX 7900 XTX and NVIDIA cards.
- Calibration
- Scales probe readings using a measured over-estimate.
- Memory fixes
- Records the savings from changes such as a bf16 head.
- Markdown and JSON
- Data available as vram.md and vram.json.
Good for
- Check if a QLoRA run will fit an 8 GB card
- Choose a LoRA rank for a given GPU
- Compare AMD and NVIDIA memory use
- Estimate VRAM for longer sequences
MarvinLabs vram_fit FAQ
Which model is covered?
unsloth/gemma-3-4b-it with 4-bit nf4 QLoRA.
Which GPUs were measured?
An RTX 3070 Ti and RTX 3060 Ti with 8 GB, and an AMD RX 7900 XTX with 24 GB.
How accurate is a probe?
The calibration anchor shows the probe over-estimated the real run by 4.7 percent.
Can I download the data?
Yes, as Markdown and JSON.
How do I add MarvinLabs vram_fit to Claude Code?
Run this command in your terminal: claude mcp add --transport http vram-fit https://marvinlabs.org/mcp
What are the best alternatives to MarvinLabs vram_fit?
The closest alternatives to MarvinLabs vram_fit are headroom, omniget, next-ai-draw-io, mcp-for-blender and Claude Code Ultimate Guide.
Where this comes from
- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.



