Skip to content

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Aug 12, 2024

Summary:

Fix #643

As titled, just needed to add reshape to supported ops.

Test Plan:

pytest test/float8/test_base.py -s -x -k inference_mode

Reviewers:

Subscribers:

Tasks:

Tags:

Summary:

As titled, just needed to add `reshape` to supported ops.

Test Plan:

```
pytest test/float8/test_base.py -s -x -k inference_mode
```

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link

pytorch-bot bot commented Aug 12, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/659

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 0e874fb with merge base 9eef1ae (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2024
@vkuzo vkuzo requested review from msaroufim and drisspg August 12, 2024 15:01
Copy link
Contributor

@drisspg drisspg left a comment

Choose a reason for hiding this comment

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

I am surprised this works without: meta-pytorch/float8_experimental#251

@msaroufim msaroufim merged commit d3b8d43 into main Aug 12, 2024
@msaroufim msaroufim deleted the 20240812_f8_bug branch August 12, 2024 15:59
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
Update support tables and explanatory text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Float8Linear does not work with torch.inference_mode
4 participants