How to translate pytorch IR to MLIR

Is there any way to convert pytorch IR(JIT) to MLIR?Does IR also exist in eager mode?

Anybody know this topic?