{m.gpu_encoder_pin_warning({ value: pin, vendor, name: state.selected.name, })}
) : ({m.gpu_encoder_pin_note({ value: pin })}
); }; /** * GPU list in the compositors-card style: per-GPU badges for the manual pick ("Preferred"), what * the next session will use ("Next session"), and what live sessions encode on right now * ("In use · NVENC"), plus an Automatic/Prefer control pair. */ export const GpuCard: FC<{ state: Loadable{m.host_gpus_help()}
{m.gpu_none()}
) : (
{g.vendor}
{g.vram_mb > 0 ? ` · ${fmtVram(g.vram_mb)}` : ""}
{` · ${g.id}`}
{m.gpu_missing_warning({ name: s.preferred_name ?? "?" })}
)} {s?.env_override && s.mode === "auto" && ({m.gpu_env_note({ value: s.env_override })}
)} {s?.encoder_pin &&