Files
turboquant_plus/scripts
31be9fb167 feat: comprehensive hardware diagnostic script + 71 tests
turbo-hardware-diag.sh v3:
- 13 test sections: hardware inventory, GPU caps, model info, prefill,
  decode, stress test, PPL, memory breakdown, load monitoring
- Cross-platform: macOS (Metal) + Linux (CUDA)
- No PII collected — only hardware specs, load stats, benchmarks
- Machine-parseable tags ([HW], [BENCH_START], [LOAD_SNAPSHOT], etc.)
- Zip packaging with hardware profile JSON for replay testing
- Load snapshots at 7 points to detect thermal throttling

71 Python tests covering:
- Script syntax, permissions, structure
- Full mock-binary integration test
- All 13 sections produce non-empty output
- Tag format validation (key=value, ISO 8601 timestamps)
- Error handling (missing model, missing binaries, missing wikitext)
- No PII verification
- Benchmark coverage (all cache types, all depths)
- Load monitoring at all checkpoint points

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-26 09:03:59 -05:00
..