RHEL 8 installing Pytorch Cuda with glibc error (after upgrading glibc)

I upgraded my glibc to 2.28. I am trying to install pytroch-cuda.
conda install -c pytorch pytorch-cuda
I get the error :
feature:/linux-64::__glibic==2.28=0
python==3.9.0->libgcc-ng[version=>‘7.3.0’]->__glibc[version’>=2.17’]

I using
RHEL 8.8
python 3.9
cuda 12.0
cudnn 8.9.3
nvidia drivers 525.125

What can I do to fix this issue? Is the RHEL version? Should I use an older version of pytorch? Is it my cuda version?