Skip to content

Keep Tinker inference client imports independent of training dependencies - #937

Merged
bradhilton merged 1 commit into
mainfrom
thanos/tinker-inference-lazy-20260922
Sep 23, 2026
Merged

bradhilton merged 1 commit into
mainfrom
thanos/tinker-inference-lazy-20260922

Conversation

@bradhilton

@bradhilton bradhilton commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Importing the genuine Tinker inference client currently executes the package initializer and imports training dependencies such as mp_actors. Resolve the three existing public exports on demand so inference imports remain usable without training extras. Requested exports still return the original objects and preserve their original import errors.

This change is based on current ART main b66b3d67, preserving its Dynamo rollout metadata, append-only argument rendering, and planner fixes. Only the Tinker initializer and four focused import-boundary regressions change.

Validation: Python 3.12 AST and exact source-parity checks passed on aaf74102. The four focused regressions are unchanged from their previously qualified versions; CI is pending on this new head. No native or provider execution was used for this rebase.

@bradhilton
bradhilton force-pushed the thanos/tinker-inference-lazy-20260922 branch from 51d071b to aaf7410 Compare September 22, 2026 23:45
@bradhilton
bradhilton marked this pull request as ready for review September 23, 2026 13:56
@bradhilton
bradhilton merged commit d21799c into main Sep 23, 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.

1 participant