Repository navigation
Conversation
pyproject.toml still described the deleted tests/ package (name "sam3-cpp-tests", hatch wheel of "tests"). It pulled in timm, torchvision, Pillow, iopath and einops, which no tracked script imports. The three converters need torch and numpy. Mark the project non-packaged instead of building a hatchling wheel, then relock. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M2qLmQ9ag49hT61V6i9qAq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyproject.tomlwas the project file for the Python test utilities intests/: namedsam3-cpp-tests, with a hatchling wheel oftests. Once #20 deletestests/, the tracked Python is just the threeconvert_*_to_ggml.pyscripts (plusscripts/verify_tokenizer.py, removed in #24). Across all tracked.pyfiles, the third-party imports are:torchnumpyyamlconvert_sam2_to_ggml.py --configonly, imported lazily; wasn't a declared dep before eitherregexverify_tokenizer.py, optional with a fallbackChanges:
timm,torchvision,Pillow,iopath,einops.[build-system]/hatchling with[tool.uv] package = false, since nothing is packaged.sam3-cppand updated the description.uv lock(−575 lines).Stacked on #20. Merge #20 first; GitHub will retarget this PR to
main.Verification: in a fresh env,
uv run python -c "import torch, numpy"works, anduv run python convert_{sam3,sam2,edgetam}_to_ggml.py --helpall run.git diff --shortstat: 2 files changed, 6 insertions(+), 575 deletions(-).Part of an over-engineering cleanup series.
🤖 Generated with Claude Code
https://claude.ai/code/session_01M2qLmQ9ag49hT61V6i9qAq