This forum is probably not the best place to ask questions about residency, but I believe (from reading posts by med students and residents etc) what mostly matters is your med school performance, not the education prior to that.
Basically that means your med school GPA, Step scores, recommendations during rotations, research etc.
But the grad school GPA will matter for med school admission, so....