Black holes, atoms, and infinite density

IANAP but I read an article that said it depended on how gravity actually works as to whether you get a singularity or not. In some models you get a black hole but you don’t get a singularity.