This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Description
🐛 Describe the bug
call dict throws warning incorrect arg count <bound method BuiltinVariable.call_dict of BuiltinVariable(dict)> missing a required argument: 'arg'
Error logs
torch._dynamo.variables.builtin: [WARNING] incorrect arg count <bound method BuiltinVariable.call_dict of BuiltinVariable(dict)> missing a required argument: 'arg'
{}
Minified repro
import torch._dynamo
@torch._dynamo.optimize('eager')
def test_call_dict():
a = dict()
return a
res = test_call_dict()
print(res)