L
LocalMode

Adaptive Batch Card · LocalMode

Surfaces useAdaptiveBatchSize output: a prominent computed optimal batch number, a hardware summary (cores/RAM/GPU), the detection source (detected/estimated/override), and a collapsible reasoning string. Ships a compact AdaptiveBatchBadge variant (e.g. "Batch: 32") with a click-to-expand device-profile popover. Data source useAdaptiveBatchSize.

npx shadcn@latest add https://localmode.ai/r/ui/local-first/adaptive-batch-card.json
Preview Adaptive Batch Card on LocalMode's site (opens in a new tab)
Loading the source for ui/local-first/adaptive-batch-card…

ui/local-first/adaptive-batch-card