eval: LLMcalc VRAM estimation logic — reference for hardware module model-fit checks #64
Labels
No labels
architecture
backlog
enhancement
module:documents
module:hardware
module:manage
module:pipeline
module:voice
priority:backlog
priority:high
priority:medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/circuitforge-core#64
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: https://github.com/Raskoll2/LLMcalc (fork: TheAhmadOsman/LLMcalc)
License: NOT SPECIFIED — cannot copy code; reference only
Stack: Python CLI
What it does
Takes a HuggingFace model ID, fetches param count, calculates VRAM requirements at every quantization level (fp16, int8, int4, etc.), detects local GPU VRAM and RAM, estimates tokens/sec throughput. Supports
-b(bandwidth),-n(GPU count),-v(VRAM) overrides.Why relevant for cf-core
cf_core.hardwaredetects available VRAM but doesn't cross-reference model requirements. The missing capability: "can this hardware actually run model X at quality level Y?"LLMcalc's formula is the reference implementation. We cannot copy the code (no license) but the algorithm is standard:
Application points
Action
Implement
cf_core.hardware.model_vram_estimate(hf_model_id, quant_level)using HuggingFace API for param count and the standard formula. LLMcalc is the reference for the formula, not a dependency to add.