I've heard that the predicted vacuum energy by quantum mechanics is way far away from what we can actually calculate according to general relativity. The current patch is to include a cosmological constant that cancels out with the expected QFT's predicted vacuum energy.
But how do these cancel out? Does QFT vacuum energy exert positive pressure and dark energy exert negative pressure? What is the mathematical logic needed for it to happen? How can the cancellation be done so that the energy we can actually see converges with what we see?