mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Support nanj in inductor (#144064)
Fixes https://github.com/pytorch/pytorch/issues/144029 Pull Request resolved: https://github.com/pytorch/pytorch/pull/144064 Approved by: https://github.com/amjames, https://github.com/eellison
This commit is contained in:
committed by
PyTorch MergeBot
parent
417354d953
commit
8633845090
@ -759,6 +759,7 @@ class PythonWrapperCodegen(CodeGen):
|
||||
import os
|
||||
import tempfile
|
||||
from math import inf, nan
|
||||
from cmath import nanj
|
||||
from torch._inductor.hooks import run_intermediate_hooks
|
||||
from torch._inductor.utils import maybe_profile
|
||||
from torch._inductor.codegen.memory_planning import _align as align
|
||||
|
Reference in New Issue
Block a user