sparse gradcheck: retire gradcheck_semantics#99043
sparse gradcheck: retire gradcheck_semantics#99043nikitaved wants to merge 39 commits intogh/nikitaved/38/basefrom
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/99043
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 6f1678b: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@nikitaved I think you have missed the point of these tests that this PR removes and the previous PR modifies. These tests cover the functionality of Also, notice that if a test passes with In fact, I think the general implication is: if a test passes with |
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Hmm, can you be more specific? AFAIK, test_autograd.py does not cover all the combinations of |
|
this covers only the COO layout but there are no tests with sparse compressed layouts. |
|
@pearu , none of the tests I modified in |
test/test_sparse.py
Outdated
| r = gradcheck(lambda x: torch.Tensor.to_dense(x, masked_grad=gradcheck.masked), t) | ||
| r = gradcheck(lambda x: torch.Tensor.to_dense(x, masked_grad=False), t) |
There was a problem hiding this comment.
Ah, ok, this one touches compressed formats. Will update it, @pearu .
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with `masked=False` implies success with `masked=True`, so there is no need in running gradcheck twice. This PR only affects the tests, it does not touch any gradcheck code. cc alexsamardzic pearu cpuhrsch amjames bhosmer ezyang albanD zou3519 gqchen soulitzer Lezcano Varal7 [ghstack-poisoned]
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Once the tests are parametrized to properly reflect domains/co-domains of sparse functions, success with
masked=Falseimplies success withmasked=True, so there is no need in running gradcheck twice.This PR only affects the tests, it does not touch any gradcheck code.
Stack from ghstack (oldest at bottom):
cc @alexsamardzic @pearu @cpuhrsch @amjames @bhosmer @ezyang @albanD @zou3519 @gqchen @soulitzer @lezcano @Varal7