Skip to content

Conversation

jerryzh168
Copy link
Contributor

Summary:
att, previously in #914 we added narrow op for all layout, the introduced narrow op breaks the pattern for int8 dynamic activation int4 weight quant for executorch, this PR guarded narrow op for tensor core tiled layout only

If similar things coming up in the future we can factor this into a proper API for Layout or TensorImpl

Test Plan:
python test/test_integration.py -k test_export

Reviewers:

Subscribers:

Tasks:

Tags:

Copy link

pytorch-bot bot commented Oct 31, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 95b39ae with merge base 0e854ec (image):
💚 Looks good so far! There are no failures yet. 💚

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

@jerryzh168 jerryzh168 requested a review from HDCharles October 31, 2024 23:04
@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 Oct 31, 2024
@jerryzh168 jerryzh168 requested a review from mcr229 October 31, 2024 23:04
@jerryzh168 jerryzh168 changed the title Call narrow only for TensorCoreTiledLayout only Call narrow only for TensorCoreTiledLayout Nov 1, 2024
Copy link
Contributor

@HDCharles HDCharles left a comment

Choose a reason for hiding this comment

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

looks good

@jerryzh168 jerryzh168 force-pushed the fix_executorch_quant branch from 465d445 to 94e8c4d Compare November 6, 2024 20:43
Summary:
att, previously in pytorch#914 we added narrow op for all layout,
the introduced narrow op breaks the pattern for int8 dynamic activation int4 weight quant for
executorch, this PR guarded narrow op for tensor core tiled layout only

If similar things coming up in the future we can factor this into a proper API for Layout or TensorImpl

Test Plan:
python test/test_integration.py -k test_export

Reviewers:

Subscribers:

Tasks:

Tags:
@jerryzh168 jerryzh168 force-pushed the fix_executorch_quant branch from 94e8c4d to 95b39ae Compare November 9, 2024 01:31
@jerryzh168 jerryzh168 added the topic: bug fix Use this tag for PRs that fix bugs label Nov 9, 2024
@jerryzh168 jerryzh168 merged commit ccd883b into pytorch:main Nov 12, 2024
18 of 19 checks passed
sunjiweiswift pushed a commit to sunjiweiswift/ao that referenced this pull request Nov 25, 2024
* Call narrow only for TensorCoreTiledLayout only

Summary:
att, previously in pytorch#914 we added narrow op for all layout,
the introduced narrow op breaks the pattern for int8 dynamic activation int4 weight quant for
executorch, this PR guarded narrow op for tensor core tiled layout only

If similar things coming up in the future we can factor this into a proper API for Layout or TensorImpl

Test Plan:
python test/test_integration.py -k test_export

Reviewers:

Subscribers:

Tasks:

Tags:

* enable test

* version

* skip aoti

* version update

* skip aoti
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. topic: bug fix Use this tag for PRs that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants