pytorch/torch/_dynamo/variables
William Wen 625af2d27c [dynamo] fix add_push_null callsites with CALL_FUNCTION_EX (#132329)
Also fix a bug in `PyCodegen.add_push_null` where in Python <= 3.12, we may accidentally duplicate a NULL instead of the object on the stack before it.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/132329
Approved by: https://github.com/anijain2305
2024-08-02 00:29:21 +00:00
..
__init__.py [dynamo] Track builtin nn modules with UnspecializedBuiltinNNModuleVariable (#132314) 2024-08-01 06:21:05 +00:00
base.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
builder.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
builtin.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
constant.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
ctx_manager.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
dicts.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
distributed.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
functions.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
higher_order_ops.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
iter.py [dynamo] fix add_push_null callsites with CALL_FUNCTION_EX (#132329) 2024-08-02 00:29:21 +00:00
lazy.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
lists.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
misc.py [dynamo] fix add_push_null callsites with CALL_FUNCTION_EX (#132329) 2024-08-02 00:29:21 +00:00
nn_module.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
optimizer.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
script_object.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
sdpa.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
tensor.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
torch_function.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
torch.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00
user_defined.py Add basic mypy annotations to dynamo (#132415) 2024-08-01 20:14:25 +00:00