The Mac Pro M2 Ultra's CPU and GPU are one chip, and you can't change it

Both the CPU and GPU live inside the M2 Ultra chip, which is permanently soldered to the logic board. Neither can be replaced or upgraded separately.