Merge ca3-v4-amend 3b5bccae into master (gate: green on 3b5bccae, recorded by tools/ci/pre-push.sh; landed on the build mirror)

This commit is contained in:
igneum-labs 2026-10-08 06:29:02 +00:00
commit a8b419ff64

View file

@ -68,6 +68,8 @@ foreach ($c in $order) {
}
# the climb switch back to what it was
Post 'api/tune/goal' ('{"climb":' + $(if ($climbBefore) { 'true' } else { 'false' }) + '}') | Out-Null
# a card the app cannot steer (AMD in 0.3.20: no power limit, no clock cap) logs no progress lines and stores one baseline row; the stored curve is the count, not the log
if ($rows -eq 0) { $st2 = State; if ($st2) { foreach ($c2 in $cards) { $cc2 = $st2.mining.cards | Where-Object { $_.key -eq $c2.key } | Select-Object -First 1; if ($cc2 -and $cc2.tune_curve) { $rows += $cc2.tune_curve.Count } } } }
Write-Output ('RESULT TUNE climb_restored=' + $climbBefore + ' rows=' + $rows)
$smi = Join-Path $env:ProgramFiles 'NVIDIA Corporation\NVSMI\nvidia-smi.exe'
if (-not (Test-Path $smi)) { $smi = Join-Path $env:SystemRoot 'System32\nvidia-smi.exe' }