mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2644
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/450
Author: @EdderTalmor
Created: 10/2/2026
Status: ❌ Closed
Base:
main← Head:fix/calibrate-helper-gpu-447📝 Commits (1)
6f71725calibrate: a gpu list is not a layer split (#447)📊 Changes
2 files changed (+31 additions, -2 deletions)
View changed files
📝
tools/calibrate.py(+15 -2)📝
tools/test_calibrate.py(+16 -0)📄 Description
Fixes #447.
tools/calibrate.pyread "the config has agpulist" as "this model splits layers across several cards" and appended--layer-split auto. Agpulist does not imply a split: the helper-GPU expert tier (--expert-cache-deviceN, docs/SECOND_GPU.md) runs one stage on one card with a second card visible for the tier, and the engine rejects--expert-cache-remotetogether with a layer split — so--calibrateexited before the sweep started and left the machine uncalibrated with only a warning line.The fix mirrors
serve.server.engine_args(): append the split only when several cards actually run stages (len(gpu_list(cfg)) > 1). Extracted assplit_args(cfg)so it is testable without a GPU.Tests added (
tools/test_calibrate.py): the helper-tier config gets no split, a real multi-card split still getsauto", an explicit--layer-split` in the config is left as it is. Full suite passes: 12/12.Verified on the reporter's setup shape:
gpu: [0]+CUDA_VISIBLE_DEVICES: "0,1"+--expert-cache-device1— the sweep now starts and writes the calibration record.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.