Repository navigation
Conversation
sam3_profile_edgetam_encode (437 lines) and its profile_edgetam example re-built the RepViT/FPN graphs stage by stage just to print timings. sam3_benchmark already reports per-model, per-backend latency. Drop the function, its public declaration, the example target, and the release packaging entry. 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.
sam3_profile_edgetam_encodeis 437 lines insam3.cppplus a public declaration, a 96-line example, a CMake target and a release-packaging entry. Its one caller isexamples/profile_edgetam.cpp. It rebuilds the RepViT stem, stages and FPN neck as separate sub-graphs only to print per-stage timings.sam3_benchmark --filter edgetamalready reports load / encode / per-frame latency for every backend, and a one-off stage breakdown can be redone from git history.Removed:
sam3_profile_edgetam_encodeand its private helpers (sam3_profile_*) insam3.cppsam3.hexamples/profile_edgetam.cppand its target inexamples/CMakeLists.txtsam3_profile_edgetamfrom the binaries packaged by.github/workflows/release.yml(macOS/Linux and Windows)Stacked on #20 because both PRs delete adjacent sections of
sam3.h. Merge #20 first; GitHub will retarget this PR tomain.Verification: a parity tool runs encode, PVS point + box, and a 3-frame visual track, then compares the output byte for byte with
origin/main:The full Release build (library + all examples) has no errors, and
git grep profile_edgetamis empty.git diff --shortstat: 5 files changed, 2 insertions(+), 561 deletions(-).Part of an over-engineering cleanup series.
🤖 Generated with Claude Code
https://claude.ai/code/session_01M2qLmQ9ag49hT61V6i9qAq