Which version of CUDA is compatible with NVIDIA MX 150?

I have been trying to setup Tensorflow with Anaconda, however I dont find any CUDA version compatible with the NVIDIA MX 150?

Any recent version of CUDA will work with MX150 (e.g. CUDA 8.x, CUDA 9.x, CUDA 10.x). MX150 is basically a pascal family GPU, of compute capability 6.1, and CUDA 8 and forward support this compute capability directly.

You need to make sure you have a driver that supports your GPU. The usual advice is just to install the most recent driver for your GPU. That driver will support CUDA 8.x, CUDA 9.x, and/or CUDA 10.x, with no changes.

does MX150 compatible with CUDA11?

Yes, both CUDA 11 and CUDA 12.0 support compute capability 6.1 devices.

Is it compatible with Version 12.4? whenever I try to install it the installation fails.

Yes, its compatible with CUDA 12.4