Skip to content

fix a bug in tensor.flatten#8680

Merged
qihqi merged 1 commit intomasterfrom
chengji/fix-flatten
Feb 5, 2025
Merged

fix a bug in tensor.flatten#8680
qihqi merged 1 commit intomasterfrom
chengji/fix-flatten

Conversation

@yaochengji
Copy link
Copy Markdown
Collaborator

No description provided.

@yaochengji yaochengji requested a review from qihqi February 5, 2025 03:30
Comment thread torchax/torchax/tensor.py
return func(*args, **kwargs)
with jax.default_device(jax_device):
op = self._ops.get(func)
if op is None and isinstance(func, torch._ops.OpOverload):
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two lines are irrelevant to the flatten bug.

@qihqi qihqi merged commit 49cd310 into master Feb 5, 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.

2 participants