Repository navigation
Conversation
Contributor
Author
RyanPCo
force-pushed
the
ryanco/image-history
branch
from
September 20, 2026 19:09
3688522 to
5a2507c
Compare
RyanPCo
force-pushed
the
ryanco/dinov3-stem
branch
from
September 20, 2026 19:09
f2246f1 to
360a16d
Compare
RyanPCo
force-pushed
the
ryanco/image-history
branch
from
September 21, 2026 18:45
5a2507c to
db5687f
Compare
RyanPCo
force-pushed
the
ryanco/dinov3-stem
branch
from
September 21, 2026 18:45
360a16d to
4f33675
Compare
RyanPCo
force-pushed
the
ryanco/image-history
branch
from
September 22, 2026 13:18
db5687f to
5eeadea
Compare
RyanPCo
force-pushed
the
ryanco/dinov3-stem
branch
from
September 22, 2026 13:18
4f33675 to
0b0d3b2
Compare
This was referenced Sep 22, 2026
This was referenced Sep 24, 2026
…spect ratio) Same call convention as ResNet. Loaded through timm: the locked transformers (4.53.2) has no DINOv3 class, and the timm hub repos are ungated. RoPE-only, so image_size may be [H, W]; exposes grid_size. pretrained_reference_state_dict reads the checkpoint back from the local HF cache (never the network), so the pretrained-weight hash check covers this tower as it does the Qwen stems; an uncached checkpoint or a random tower is skipped. Against the real timm/vit_base_patch16_dinov3.lvd1689m file the key sets match (162 tensors) and every value is equal. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_019DbPWJCKtVg5c2PNHs7egw
aidang3019
force-pushed
the
ryanco/dinov3-stem
branch
from
September 30, 2026 01:06
0b0d3b2 to
f9cf65e
Compare
Contributor
Author
|
Folded into #680 to keep the stack under Graphite's 50-branch cap; the changes are unchanged there. |
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.

Adds
DINOv3Stem, a pretrained DINOv3 ViT image stem inegomimic/models/hpt_nets.pythat returns patch tokens at any aspect ratio. RDT (#680) uses it as its image encoder.Behaviour changes
None. It is a new class, and no existing config uses it.
What it does
ResNet:(B, T, N, 3, H, W)images in [0, 1] in,(B, patches, output_dim)out. CLS and register tokens are dropped.timm/*_dinov3hub repos are ungated wherefacebook/dinov3-*is gated. Default model:vit_base_patch16_dinov3.lvd1689m.image_sizemay be[H, W](multiples of the patch size, otherwise aValueError), with no position interpolation. The stem exposesgrid_size.freeze_backbonefreezes the tower, keeps it in eval mode and runs it underno_grad.backbone_parameters()returns the tower's parameters for a separate LR group;projstays in the main group.Pretrained-weight verification
pretrained_reference_state_dictreads the checkpoint back from the local HF cache (local_files_only=True, never the network), so the pretrained-weight hash check (#645) covers this tower as it covers the Qwen stems. An uncached checkpoint or a random tower is skipped rather than fetched. Against the realtimm/vit_base_patch16_dinov3.lvd1689mfile, the key sets match (162 tensors) and every value is equal.Tests
tests/unit/test_dinov3_stem.pyruns on a random-init tiny tower (no network, no weights). It covers:🤖 Generated with Claude Code
https://claude.ai/code/session_01UkAZwERXcFKjueZQKfRF6J