{t("ptch_dialog_title")}
{#if loadErr}
{loadErr}
{:else if !plan}
{t("web_loading", "…")}
{:else}
{t("ptch_detected_gpu")}: {detected.gpu_name || detected.gpu_brand || "—"}
{t("ptch_detected_cpu")}: {detected.cpu_name || "—"}
{#if detected.cuda_version}
{t("ptch_detected_driver")}: {detected.cuda_version}
{/if}
{#if detected.compute_capability}
{t("ptch_detected_cc")}: {detected.compute_capability}
{/if}
{t("ptch_detected_device")}: {detected.current_device || "cpu"}
{t("ptch_dialog_ask")}
{#each options as o (o.id)}
{@const avail = !!o.available}
{/each}
{/if}