TensorFlow 0.1.3: context-bound constants and default transpose - #16
Merged
Merged
Conversation
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.
Summary
rextio-tensorflow0.1.3 as an Unreleased candidate and add the0.1.3integration branch to CItf.transpose(x)lowering using same-wheel TFETransposewith default[1, 0]permutation onlyBorrowedContextRAII prepared-constant table for reduction axes, ArgMax axes, and the rank-2 transpose permutationSafety and evidence boundaries
Prepared handles are never process-global and are never shared across distinct
BorrowedContextvalues, even when separate extracts observe the same raw eager-context pointer. Reuse is limited to repeated operations in one generated native ownership graph.Drop for BorrowedContextdrains the prepared table while the strong Python context and capsule anchors are still alive.The real-Cargo coverage uses a non-square 2x3 tensor, proves 3x2 transpose parity, exercises double transpose and repeated reduction helper paths, checks special values and boundary rejection, and verifies returned tensors remain valid after inputs and Rust locals are released. It does not claim an observed cache-hit rate or speedup.
Verification
389 passed1 passed433 passed, 1 skipped, 8 deselected8 passed11 passed; transpose claim/lower11 passed; CUDA identity/static contracts3 passedDeliberate limitations
FunctionDeffusionsupport_claim=falseandcertification_ready=falseThis PR targets the 0.1.3 integration branch. It does not tag, release, publish, or merge to
main.