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

Description
🐛 Describe the bug
import torch
import torch._dynamo as dynamo
@dynamo.optimize()
def forward(x):
return torch.ops.aten.uniform(x)
forward(torch.rand(1000))
Error
RuntimeError: Failed running call_function aten.uniform(*(FakeTensor(FakeTensor(..., device='meta', size=(1000,)), cpu),), **{}):
uniform() missing 2 required keyword-only arguments: 'dtype' and 'device'
Error logs
Ful log: https://gist.github.com/silvasean/c502b2a4df4feb97403cdbd8b56eb1b5
Minified repro
See above