Skip to content

Conversation

zou3519
Copy link
Contributor

@zou3519 zou3519 commented Jan 21, 2025

Stack from ghstack (oldest at bottom):

This PR:

  • makes it so that new modules added to torch are inlined by default
  • adds a list of the previously "skipped by default" modules to avoid
    regressing anything. This is a new MOD_SKIPLIST list that is consulted
    in trace_rules.check_file.
  • Follow-up work will go through this list, one-by-one, and try to delete
    modules. I think we should be able to delete almost everything,
    except for torch._dynamo.

Test Plan

  • existing tests

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

This PR:
- makes it so that new modules added to torch are inlined by default
- adds a list of the previously "skipped by default" modules to avoid
  regressing anything. This is a new MOD_SKIPLIST list that is consulted
  in trace_rules.check_file.
- Follow-up work will go through this list, one-by-one, and try to delete
  modules. I think we should be able to delete almost everything,
  except for torch._dynamo.

Test Plan
- existing tests

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 21, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 91ef260 with merge base 5fd881a (image):
💚 Looks good so far! There are no failures yet. 💚

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

zou3519 added a commit that referenced this pull request Jan 21, 2025
This PR:
- makes it so that new modules added to torch are inlined by default
- adds a list of the previously "skipped by default" modules to avoid
  regressing anything. This is a new MOD_SKIPLIST list that is consulted
  in trace_rules.check_file.
- Follow-up work will go through this list, one-by-one, and try to delete
  modules. I think we should be able to delete almost everything,
  except for torch._dynamo.

Test Plan
- existing tests

ghstack-source-id: 75fe061
Pull Request resolved: #145279
@zou3519 zou3519 added the topic: not user facing topic category label Jan 21, 2025
@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 21, 2025 16:32 Inactive
@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 21, 2025 16:32 Inactive
@zou3519 zou3519 marked this pull request as ready for review January 21, 2025 18:05
@ezyang ezyang removed their request for review January 21, 2025 18:08
@ezyang
Copy link
Contributor

ezyang commented Jan 21, 2025

I'm deferring to Yanbo and Animesh for this

Copy link
Contributor

@yanboliang yanboliang left a comment

Choose a reason for hiding this comment

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

LGTM

@zou3519 zou3519 added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 21, 2025
@zou3519
Copy link
Contributor Author

zou3519 commented Jan 21, 2025

@pytorchbot merge

@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

@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 21, 2025 21:43 Inactive
@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 21, 2025 21:43 Inactive
@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 21, 2025 21:43 Inactive
@github-actions github-actions bot deleted the gh/zou3519/1115/head branch February 21, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants