[FIX][Script] Preserve device identity and unify rendering configuration - #20543
Merged
Merged
Conversation
tlopex
approved these changes
Oct 4, 2026
Use canonical device selectors and namespace aliases across translation and rendering. Keep range and tensor formatting in their owning hooks, avoid redundant nested imports and path mapping, and consolidate script entry points behind the public root API.
Remove redundant public C++ Doc rendering helpers and bind the Python document entry point directly to the internal renderer.
Allow the native hexadecimal pointer representation with or without a prefix and either letter case.
tqchen
force-pushed
the
script/printer-followup-fixes
branch
from
October 4, 2026 11:36
2a05440 to
c8f8aa6
Compare
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.
Preserve VDevice identity with canonical selectors and honor canonical namespace configuration throughout translation and rendering. Keep range and tensor formatting in their owning hooks, remove redundant nested imports and forwarding helpers, and skip path mapping when diagnostics are unused.
Consolidate script rendering behind the public root API while retaining compatibility entry points and repr fallback behavior. Keep document rendering internal by removing redundant public C++ helpers and binding the Python document entry point directly to the internal renderer.