what can casue "LLVM ERROR: Trying to register different dialects for the same namespace"

Viewed 20

I'm using jax on ubuntu 18.04. Actually I'm using a new backend of jax which is implemented outside from the XLA source tree. The code can be built successfully, but gets a runtime error "LLVM ERROR: Trying to register different dialects for the same namespace", or another similar one "LLVM ERROR: a dialect with namespace 'arith' has already been registered". I find little information about these errors from google. I thought maybe experts who are familiar with llvm/mlir/tensorflow/XLA/JAX have knowledge about this problem.

0 Answers
Related