Skip to content

[FIX][Script] Preserve device identity and unify rendering configuration - #20543

Merged
tqchen merged 3 commits into
apache:mainfrom
tqchen:script/printer-followup-fixes
Oct 4, 2026
Merged

tqchen merged 3 commits into
apache:mainfrom
tqchen:script/printer-followup-fixes

Conversation

@tqchen

@tqchen tqchen commented Oct 4, 2026

Copy link
Copy Markdown
Member

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.

tqchen added 3 commits October 4, 2026 11:36
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
tqchen force-pushed the script/printer-followup-fixes branch from 2a05440 to c8f8aa6 Compare October 4, 2026 11:36
@tqchen
tqchen merged commit 8a1bd49 into apache:main Oct 4, 2026
8 checks passed
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