Skip to content

chore: remove weights-gen tool#2959

Merged
markphelps merged 1 commit intomainfrom
md/remove-weights-gen
Apr 23, 2026
Merged

chore: remove weights-gen tool#2959
markphelps merged 1 commit intomainfrom
md/remove-weights-gen

Conversation

@michaeldwan
Copy link
Copy Markdown
Member

The weights pipeline is now formalized through cog weights import and the lockfile format. weights-gen was an ad-hoc developer utility for generating synthetic weight directories and lockfiles without needing real model weights or a registry.

With the real CLI commands covering this workflow, nobody's actively using the tool -- and it's been accumulating maintenance debt (there's an outstanding update needed for v2 lockfile changes that never happened).

Removes tools/weights-gen/ and its .gitignore entry.

The weights pipeline is now formalized through `cog weights import` and the
lockfile format. This ad-hoc test-data generator is no longer needed -- developers
can use the real CLI commands with a cog.yaml instead.
@michaeldwan michaeldwan marked this pull request as ready for review April 23, 2026 01:26
@michaeldwan michaeldwan requested a review from a team as a code owner April 23, 2026 01:26
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented Apr 23, 2026

LGTM

github run

michaeldwan added a commit that referenced this pull request Apr 23, 2026
…nal symbols

Remove tools/weights-gen/ (dead developer utility, matches #2959) and
unexport ~26 symbols in pkg/model/ and pkg/model/weightsource/ that
were only exported for that tool. Delete ParseFingerprint which had
zero production callers.

This shrinks the public API surface of pkg/model without changing any
behavior — all callers are package-internal (same-package tests
included).
@markphelps markphelps added this pull request to the merge queue Apr 23, 2026
Merged via the queue into main with commit 1e4bc23 Apr 23, 2026
43 checks passed
@markphelps markphelps deleted the md/remove-weights-gen branch April 23, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants