PC 1 Ember per-card job: a card the app cannot steer stores one baseline row and logs no progress line; count the stored curve before calling the run empty (the 9070 XT run exited 1 on a real row)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
igneum-labs 2026-10-08 06:18:25 +00:00
parent f21fa4b940
commit 3b5bccaec3

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' }