You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the CPU plugin on ARM64/AArch64 Darwin, it works with XLA HLO but when I use StableHLO it fails to even start, with error
: CommandLine Error: Option 'experimental-debuginfo-iterators' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
which apparently happens when LLVM is linked twice. StableHLO works fully on linux. I also believe it's working on Apple Metal, though I'm seeing a different error there so I'm not completely certain.
I'm building the plugin as a shared dylib. I'm also building PJRT and the HLO builder API together in another dylib. That's two dylibs in total. The PJRT/HLO dylib has the following dependencies.
I have also discussed this on the openxla discord with @GleasonK, where he suggested removing instances of compatible_with = get_compatible_with_portable() from BUILD files, and, separately, removing #include "xla/service/llvm_ir/llvm_util.h". I didn't get either to work, but I don't know if I did it correctly.
I forgot to mention
The text was updated successfully, but these errors were encountered:
When I use the CPU plugin on ARM64/AArch64 Darwin, it works with XLA HLO but when I use StableHLO it fails to even start, with error
which apparently happens when LLVM is linked twice. StableHLO works fully on linux. I also believe it's working on Apple Metal, though I'm seeing a different error there so I'm not completely certain.
I'm building the plugin as a shared dylib. I'm also building PJRT and the HLO builder API together in another dylib. That's two dylibs in total. The PJRT/HLO dylib has the following dependencies.
I have also discussed this on the openxla discord with @GleasonK, where he suggested removing instances of
compatible_with = get_compatible_with_portable()
from BUILD files, and, separately, removing#include "xla/service/llvm_ir/llvm_util.h"
. I didn't get either to work, but I don't know if I did it correctly.I forgot to mention
The text was updated successfully, but these errors were encountered: