Skip to content

Fix updater flavor detection - #712

Merged
i386 merged 1 commit into
mainfrom
codex/update-flavor-detection
May 27, 2026
Merged

Fix updater flavor detection#712
i386 merged 1 commit into
mainfrom
codex/update-flavor-detection

Conversation

@i386

@i386 i386 commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

mesh-llm update now avoids silently replacing a GPU-flavored install with the CPU bundle, and users can explicitly choose or re-detect the best flavor for the current host.

The installer and updater now share the same effective backend preference order:

cuda-blackwell -> cuda -> rocm -> vulkan -> metal -> cpu

Details

  • Add command-local mesh-llm update --flavor <flavor> for explicit update bundle selection.
  • Add mesh-llm update --detect-flavor to re-run host backend detection and install the best detected release bundle.
  • Keep --flavor as the manual update override, and reject combining it with --detect-flavor.
  • Detect Blackwell CUDA via nvidia-smi --query-gpu=compute_cap, with NVIDIA /proc model-name fallback.
  • Align Linux installer flavor recommendations with updater flavor selection.
  • Improve updater probes for Windows ROCm/HIP and Vulkan SDK installs.
  • Add comments and docs noting that installer and updater flavor detection must stay in sync.

Validation

  • bash -n install.sh
  • mocked installer detection for cuda-blackwell, cuda, rocm, vulkan, and cpu
  • cargo test -p mesh-llm-system autoupdate
  • cargo check -p mesh-llm-system
  • cargo check -p mesh-llm-host-runtime
  • git diff --check

@i386 i386 changed the title [codex] Fix updater flavor detection Fix updater flavor detection May 27, 2026
@i386
i386 marked this pull request as ready for review May 27, 2026 08:43
@i386
i386 force-pushed the codex/update-flavor-detection branch from d189690 to df15b01 Compare May 27, 2026 08:52
@i386
i386 force-pushed the codex/update-flavor-detection branch from df15b01 to ba663c5 Compare May 27, 2026 09:20
@i386
i386 merged commit 9ee76b7 into main May 27, 2026
28 checks passed
@i386
i386 deleted the codex/update-flavor-detection branch May 27, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants