-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
bugSomething isn't workingSomething isn't working
Description
/root/anaconda3/lib/python3.10/site-packages/torch/jit/_script.py", line 1381, in script
fn = torch._C._jit_script_compile(
RuntimeError:
Expression of type | cannot be used in a type expression:
@torch.jit.script
def _fake_tensor_quant_backward(inputs, amax: torch.Tensor | None, grad_outputs):
"amax: torch.Tensor | None" is error
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working