I am trying to run forward() function of a model with eager and torch.compile() mode.
It runs fine on eager but with torch.compile() I see following issue
msg = 'Logger not supported for non-export cases'
def unimplemented(msg: str, *, from_exc: Any = _NOTHING) -> NoReturn:
assert msg != os.environ.get("BREAK", False)
if from_exc is not _NOTHING:
raise Unsupported(msg) from from_exc
> raise Unsupported(msg)
Is this expected or issue from torch side?