[release/1.10] TST Adds test for non-contiguous tensors (#64954)#69617
[release/1.10] TST Adds test for non-contiguous tensors (#64954)#69617malfet merged 2 commits intorelease/1.10from
Conversation
Summary: Follow up to #61935 This PR: 1. Adds test for non-contiguous tensors 2. Fixes bug in `NLLLoss` that was catch by the test. The reason this was not catch in `common_nn` is because `CriterionTest` overrides `test_cuda` but does not call `test_nonconfig`. cc albanD mruberry jbschlosser walterddr Pull Request resolved: #64954 Reviewed By: zou3519 Differential Revision: D31174149 Pulled By: jbschlosser fbshipit-source-id: a16073e59b40ccc01c82ede016b63a8db2e810f5 (cherry picked from commit 0d3bf97) Signed-off-by: Eli Uriegas <[email protected]>
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slowFor more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit d1e4cba (more details on the Dr. CI page):
🕵️ 4 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
|
Appears as though test failures are legitimate for this particular PR. This might make this PR miss the cut for 1.10.1 unless we can resolve the test failures |
Namely, `make_weight` partial into `module_inputs_torch_nn_NLLLoss`
|
Cherry-picked missing changes in d1e4cba |
Cherry pick of
Original commit message
Summary:
Follow up to #61935
This PR:
NLLLossthat was catch by the test.The reason this was not catch in
common_nnis becauseCriterionTestoverridestest_cudabut does not calltest_nonconfig.cc albanD mruberry jbschlosser walterddr
Pull Request resolved: #64954
Reviewed By: zou3519
Differential Revision: D31174149
Pulled By: jbschlosser
fbshipit-source-id: a16073e59b40ccc01c82ede016b63a8db2e810f5
(cherry picked from commit 0d3bf97)
Signed-off-by: Eli Uriegas [email protected]
Fixes #{issue number}