Skip to content

TinyGPT v1.0.1 — refactor & cleanup

Latest

Choose a tag to compare

@sarthakagrawal927 sarthakagrawal927 released this 19 Jun 15:48
· 231 commits to main since this release

Maintenance release. Internal refactoring and dead-code removal only — no user-facing behavior changes.

Duplication removed

  • Swift CLI: 22 copy-pasted helper definitions consolidated into 4 shared helpers in `CLIHelpers.swift` (`formatLargeInt`, `argmax`, `mlComputeUnits`, `runBlocking`).
  • evals: shared `evals/_common.sh` (`resolve_tinygpt` + `fail`) replaces the binary-resolution boilerplate copy-pasted across 4 smoke scripts; added `evals/common-smoke.sh` test.

Dead weight removed

  • 15 zero-reference one-off browser dev scripts (audit/measure/screenshot/inspect).
  • `browser/_legacy_html/` + `convert_to_astro.mjs` (retired Vite→Astro regeneration pipeline).

Housekeeping

  • Archived 21 superseded Python iteration scripts to `scripts/archive/` (history preserved via git mv); repointed 9 docs.

Verification

swift build --build-tests, browser tsc + astro build (299 pages), and all eval smokes pass green.