Open Chillee opened 1 year ago
Activation checkpointing tests should be fixed by: https://github.com/pytorch/pytorch/pull/111139
Fixes at least these tests (others may have been skipped on my local):
FAILED [0.0709s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_decomps - torch._dynamo.exc.BackendCompilerFailed: backend='compiler_fn' raised:
FAILED [0.0567s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_dropout - torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
FAILED [0.0302s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_function - torch._dynamo.exc.BackendCompilerFailed: backend='compiler_fn' raised:
FAILED [0.0294s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_function_via_global_checkpoint - torch._dynamo.exc.BackendCompilerFailed: backend='compiler_fn' raised:
FAILED [0.0591s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_function_with_kwargs - AssertionError: In graph GraphModule()
FAILED [0.0445s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_module - torch._dynamo.exc.BackendCompilerFailed: backend='compiler_fn' raised:
FAILED [0.0499s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_multiple_checkpoints - torch._dynamo.exc.BackendCompilerFailed: backend='compiler_fn' raised:
FAILED [0.0343s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_rand - torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
FAILED [0.0615s] test/dynamo/test_activation_checkpointing.py::ActivationCheckpointingViaTagsTests::test_tags_recomputed_rand - torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
https://github.com/pytorch/pytorch/pull/112672 should fix the activation checkpointing tests
Activation checkpointing tests are fixed by https://github.com/pytorch/pytorch/pull/112672. Q: how to re-enable these tests? cc. @Chillee
Just close all the relevant issues: https://github.com/pytorch/pytorch/issues?q=is%3Aissue+is%3Aopen+ActivationCheckpointingViaTagsTests+
is this testcases of test_replay_record.py deprecated?
Interestingly, many of these cases pass under python unittest, but fail with pytest. This makes the debugging experience more difficult.
🐛 Describe the bug
predispatch + export + out_dtype fails when running twice. Somewhat mysterious, on second invocation,
make_fx
is baking in a constant as a fake tensor.pytest test_export.py test_export.py -k test_predispatch_with_for_out_dtype
. They are run twice due totest_dynamic
library registration fails when done twice
pytest test_misc.py test_misc.py -k test_non_pt2_compliant_ops_graph_break
Not sure for this failure yet, but repro is
pytest test_logging.py test_recompile_ux.py
.This test also fails if
test_logging
is run beforehandpytest test_logging.py test_repros.py
This test fails if
test_modules
is run beforehandpytest test_modules.py test_repros.py
Non-flaky failing local tests (i.e. fails when run individually)
Uncatalogued failing local tests
cc: @voznesenskym @zou3519 @ezyang
Versions
N/A
cc @ezyang @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @wconstab