Repository navigation
Conversation
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/119597
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 4c8816f with merge base 86063b4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler [ghstack-poisoned]
Introducing a feature flag for development purposes, which allows to disable the CUTLASS backend entirely. This flag is not intended to be used by users, it is for development purposes to ensure a working codebase when features are incrementally added over the course of multiple commits / PRs and it cannot be ensured that the cutlass backend is functional in-between incremental commits. To disable the cutlass backend, set the private variable cutlass_utils._DISABLE_CUTLASS_BACKEND to True cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 muchulee8 aakhundov ColinPeppler amjames [ghstack-poisoned]
|
|
||
| # This is a feature flag. If _DISABLE_CUTLASS_BACKEND is set to true, | ||
| # then the CUDA / CUTLASS backend is entirely disabled, including it's unit tests | ||
| _DISABLE_CUTLASS_BACKEND = False |
There was a problem hiding this comment.
lets use torch._inductor.config for this.
There was a problem hiding this comment.
I don't think we should do that, for the following reasons:
- This is not intended as config setting that may be changed.
- It's a constant to disable experimental or partially implemented features so I can split the PR into multiple parts.
- If I would make this a config option, the expectation would be that it's permissible to change it.
- It would become part of the public interface, so I can't just remove it later.
There was a problem hiding this comment.
I agree that the flag is confusing. My impression is that the main purpose of having this flag is splitting the PRs in this stack? How much sense does this flag make after you PRs are landed? Are you going to remove this flag in one of the PRs in the stack, as it's no longer relevant? If so, maybe simply disable some of the unit tests in the middle of the stack (when they are not supposed to pass) and enable back in a subsequent PR, to achieve what you want?
There was a problem hiding this comment.
You got that correctly, it's for splitting the PR. Yes, I can remove it afterwards if you prefer. I would have to remove all references to it, though, which are quite a few, so I would create a separate PR for that.
I'm not just disabling tests but rather the entire backend such that it's not possible to get to a functionally broken state just by leaving out some of the later PRs. When I split the PR, it also means the changes are not applied atomically ( e.g. all together or none at all) anymore.
All of that said, @jansel if you insist I can make it a public config option. I consider it a minor detail.
There was a problem hiding this comment.
@jansel if the flag will be removed after all the PRs land, would it be acceptable to keep it around in-between?
There was a problem hiding this comment.
Let's actually split the PR into logical chunks (each with their own set of tests).
Splitting the tests from the code they are testing is kind of defeating the point of splitting up the PR.
I also want CI the be running on this code. So we should have tests that patch this flag enabled and run it.
|
Closing. The PR stack is being restructured here: #121492 |
Stack from ghstack (oldest at bottom):
Introducing a feature flag for development purposes, which allows
to disable the CUTLASS backend entirely.
This flag is not intended to be used by users, it is for development
purposes to ensure a working codebase when features are incrementally
added over the course of multiple commits / PRs and it cannot
be ensured that the cutlass backend is functional in-between
incremental commits.
To disable the cutlass backend, set the private variable
cutlass_utils._DISABLE_CUTLASS_BACKEND to True
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @muchulee8 @aakhundov @ColinPeppler @amjames