In theory, if gravitons exist, they should reproduce the same effects as the curvature of spacetime at larger scales. So, while they seem contradictory, they're actually complementary. Gravitons would be the "quantized" particles that, in large numbers, create the effect we observe as curved spacetime.
The problem is that nobody has successfully combined these two views into a single unified theory, known as "quantum gravity". General Relativity and quantum mechanics don't naturally fit together, and that's why we don't yet fully understand gravity in a way that reconciles both the spacetime curvature and graviton perspectives.
The problem is that nobody has successfully combined these two views into a single unified theory, known as "quantum gravity". General Relativity and quantum mechanics don't naturally fit together, and that's why we don't yet fully understand gravity in a way that reconciles both the spacetime curvature and graviton perspectives.