project-nomad/admin/tests/unit
Jake Turner 90489e06da
fix(amd): coerce gfx1103 (780M) to HSA_OVERRIDE 11.0.0 so it stays on GPU (#1134)
PR #1076 stopped forcing HSA_OVERRIDE_GFX_VERSION=11.0.0 on
"natively-supported" AMD iGPUs. That was correct for gfx1150/gfx1151
(Strix 890M / Strix Halo, which are in the bundled rocblas allowlist)
but wrong for gfx1103 (Phoenix/Hawk Point 780M/760M), which is NOT in
that list. Without the override, ollama drops the 780M with "no rocblas
support for gfx target" and falls back to CPU on a fresh AI provision.

Extract the gfx→HSA mapping into a pure, unit-tested util and map
gfx1103 → 11.0.0 (gfx1100 kernels), the value that worked on v1.33.0 and
that restores full GPU offload in the field. gfx1150/1151 stay native.

Also harden the installer's 780M detection (Hawk Point / "Radeon 780M/
760M" strings) so the gfx marker isn't silently deleted, and upgrade the
no-marker fallback log from info to warn since it can mask CPU fallback.
2026-08-04 03:38:36 +00:00
..
amd_hsa_override.spec.ts fix(amd): coerce gfx1103 (780M) to HSA_OVERRIDE 11.0.0 so it stays on GPU (#1134) 2026-08-04 03:38:36 +00:00
app_auto_update.spec.ts
…
cloud_metadata_url.spec.ts
…
content_auto_update.spec.ts
…
content_auto_update_backoff.spec.ts
…
content_reindex_decision.spec.ts
…
custom_app_guard.spec.ts
…
drug_ingest_status.spec.ts Add offline FDA drug reference (labels, interaction view, conditions, remedies) (#1040) 2026-08-04 03:38:33 +00:00
drug_interactions.spec.ts Add offline FDA drug reference (labels, interaction view, conditions, remedies) (#1040) 2026-08-04 03:38:33 +00:00
drug_labels.spec.ts Add offline FDA drug reference (labels, interaction view, conditions, remedies) (#1040) 2026-08-04 03:38:33 +00:00
global_map_banner.spec.ts
…
kb_file_grouping.spec.ts
…
kb_guardrail.spec.ts
…
kb_ingest_decision.spec.ts
…
kb_job_health.spec.ts
…
kb_ratio_lookup.spec.ts
…
kb_warning_decision.spec.ts
…
private_url.spec.ts
…
superseded_resource.spec.ts
…
zim_download_resolution.spec.ts
…
zim_filename.spec.ts
…
zim_html.spec.ts
…