Skip to content

Conversation

jamesjwu
Copy link
Contributor

@jamesjwu jamesjwu commented Mar 7, 2024

Stack from ghstack (oldest at bottom):

After this, the sam_fast benchmark can now be run in the pytorch repo:

SEGMENT_ANYTHING_FAST_USE_FLASH_4=0 benchmarks/dynamo/torchbench.py --inference --amp --performance --backend=inductor --explain --only sam_fast

sam_fast is designed for inference only, with cuda and amp on. The code adds these restrictions to the benchmark.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang

[ghstack-poisoned]
@pytorch-bot pytorch-bot bot added the release notes: releng release notes category label Mar 7, 2024
Copy link

pytorch-bot bot commented Mar 7, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 2832d7f with merge base a656e12 (image):
💚 Looks good so far! There are no failures yet. 💚

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

jamesjwu added a commit that referenced this pull request Mar 7, 2024
ghstack-source-id: 2feea33
Pull Request resolved: #121420
[ghstack-poisoned]
[ghstack-poisoned]
jamesjwu added a commit that referenced this pull request Mar 8, 2024
ghstack-source-id: 30883c8
Pull Request resolved: #121420
After this, the sam_fast benchmark can now be run in the pytorch repo:
```
SEGMENT_ANYTHING_FAST_USE_FLASH_4=0 benchmarks/dynamo/torchbench.py --inference --amp --performance --backend=inductor --explain --only sam_fast


```

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
After this, the sam_fast benchmark can now be run in the pytorch repo:
```
SEGMENT_ANYTHING_FAST_USE_FLASH_4=0 benchmarks/dynamo/torchbench.py --inference --amp --performance --backend=inductor --explain --only sam_fast


```

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
jamesjwu added a commit that referenced this pull request Mar 11, 2024
ghstack-source-id: 2393299
Pull Request resolved: #121420
@jamesjwu jamesjwu marked this pull request as ready for review March 11, 2024 12:21
@jamesjwu jamesjwu requested a review from a team as a code owner March 11, 2024 12:21
@jamesjwu jamesjwu changed the title Update torchbench commit pin Update torchbench commit pin, add sam_fast benchmark Mar 11, 2024
@jamesjwu jamesjwu requested a review from msaroufim March 11, 2024 12:23
@jamesjwu
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 11, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

facebook-github-bot pushed a commit to pytorch/benchmark that referenced this pull request Mar 12, 2024
Summary:
After this, the sam_fast benchmark can now be run in the pytorch repo:
```
SEGMENT_ANYTHING_FAST_USE_FLASH_4=0 benchmarks/dynamo/torchbench.py --inference --amp --performance --backend=inductor --explain --only sam_fast
```

sam_fast is designed for inference only, with cuda and amp on. The code adds these restrictions to the benchmark.

X-link: pytorch/pytorch#121420
Approved by: https://github.com/oulgen, https://github.com/msaroufim

Reviewed By: osalpekar

Differential Revision: D54778529

Pulled By: jamesjwu

fbshipit-source-id: 63247735007cfb70ca69d67807816ee1c833170b
@github-actions github-actions bot deleted the gh/jamesjwu/16/head branch April 11, 2024 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: dynamo release notes: releng release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants