Failed to compile IR version 1.6 incompatible with current version 2.0

NVVM_ERROR_IR_VERSION_MISMATCH - has anyone encountered this before?
What version of numba would work with Cuda 12.2? I am running bellow:

numba==0.55.2
cupy-cuda12x==13.2.0
numpy==1.22.4

Driver Version: 535.104.05
CUDA Version: 12.2
OS: Ubuntu Server 22.04
Kernel Version: 5.15.0-84-generic

Any pointers would be much appreciated.
Thank you!

It sounds like you have components from different versions of the toolkit installed in your environment.

Can you create a new environment and see if the problem persists?

That did it. Purged Cuda and reinstalled Cuda toolkit and works fine now. Thanks!

numba.cuda.cudadrv.error.NvvmError: Failed to compile

IR version 1.6 incompatible with current version 2.0
: error: incompatible IR detected. Possible mix of compiler/IR from different releases.
NVVM_ERROR_IR_VERSION_MISMATCH
srun: error: c08r02: task 0: Exited with exit code 1
srun: launch/slurm: _step_signal: Terminating StepId=9110941.1

I am using cuda 11.6 and getting this error
Numba version is 0.56.4

It looks like you have the same issue as tazo_a (a mixed up environment with components from different toolkit versions) - can you create a new environment and try again please?