Skip to content

Instantly share code, notes, and snippets.

@mlazos
Created June 6, 2024 00:32
Show Gist options
  • Save mlazos/5e197ee3e4ff8e2fff400b7630a769ef to your computer and use it in GitHub Desktop.
Save mlazos/5e197ee3e4ff8e2fff400b7630a769ef to your computer and use it in GitHub Desktop.
TORCH_LOGS="recompiles" PYTORCH_TEST_WITH_DYNAMO=1 python test/test_optim.py -k test_foreach_matches_forloop_AdamW_cuda
[WARNING]:Profiler function <class 'torch.autograd.profiler.record_function'> will be ignored
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797595855440)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797595855440)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797595855104)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797595855440)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797595855440)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797595855104)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797595855104)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797595855440)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797595855440)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797595855440)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797560987024)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797560987024)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797560987072)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797560987024)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797560987024)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797560987072)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797560987072)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797560987024)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797560987024)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797560987024)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797561580208)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561580208)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561584720)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561580208)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797561580208)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561584720)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797561584720)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561580208)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797561580208)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797561580208)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797561580928)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561580928)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797422176048)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561580928)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797561580928)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797422176048)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797422176048)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561580928)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797561580928)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797561580928)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797376599376)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797376599376)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797376605328)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797376599376)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797376599376)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797376605328)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797376605328)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797376599376)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797376599376)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797376599376)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797469047648)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469047648)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469039968)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469047648)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797469047648)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469039968)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797469039968)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469047648)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797469047648)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797469047648)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797561419344)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561419344)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561424960)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561419344)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797561419344)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561424960)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797561424960)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797561419344)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797561419344)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797561419344)
[DEBUG]:Recompiling function wrapper in /data/users/mlazos/pytorch/torch/optim/optimizer.py:463
triggered by the following guard failure(s):
- ___check_obj_id(L['args'][0], 139797469045536)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469045536)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797422551632)
- L['self'].param_groups[0]['params'][0].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469045536)
- L['self'].param_groups[0]['params'][0].grad is not None
- ___check_obj_id(L['self'], 139797469045536)
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797422551632)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797422551632)
- L['self'].param_groups[0]['params'][2].grad is not None
[DEBUG]:Recompiling function step in /data/users/mlazos/pytorch/torch/optim/adamw.py:190
triggered by the following guard failure(s):
- ___check_obj_id(L['self'], 139797469045536)
- ___check_obj_id(L['self'].param_groups[0]['params'][0].grad, 7620384)
- ___check_obj_id(L['self'], 139797469045536)
- L['self'].param_groups[0]['params'][2].grad is not None
- ___check_obj_id(L['self'], 139797469045536)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment