As long as it is a 670 and a 670, or a 7870 and a 7870, the ram amount doesnt matter
Im not sure how the ram works at that point. In the 3gb in one card, and 2gb in the other, I would imagine that both just run at 2gb of ram.
Even with different sized PCBs it will still work.