Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check tensor attrs of tensor wrapper subclasses in prologue #1591

Open
wants to merge 2 commits into
base: tensor_subclass_3
Choose a base branch
from

Conversation

crcrpar
Copy link
Collaborator

@crcrpar crcrpar commented Dec 28, 2024

What does this PR do?

Put tensor attributes of tensor wrapper subclasses objects on the radar of the check of prologue trace. Also use pytorch_executor in the transform_for_execution of prologue_trace as it could have the prim of tensor subclass flattening whose definition is only available in pytorch executor.

@crcrpar crcrpar force-pushed the subclass/check_tensor_attrs branch from 1069c05 to edfd224 Compare December 30, 2024 12:21
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Dec 30, 2024
also use `pytorch_executor` in the `transform_for_execution` of
`prologue_trace` as it could have the prim of tensor subclass flattening
whose definition is only available in pytorch executor.

Signed-off-by: Masaki Kozuki <[email protected]>
@crcrpar crcrpar force-pushed the tensor_subclass_3 branch from d9ed305 to 8435406 Compare January 2, 2025 13:52
@crcrpar crcrpar force-pushed the subclass/check_tensor_attrs branch from edfd224 to 8e6d110 Compare January 2, 2025 13:52
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jan 2, 2025
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