Where does the heat always go? It goes into the environment. In space the environment is space. It goes from high-temperature GPU made for space to a large metamaterial coated heatsink with optimal geometry to radiate into space.
Into other surrounding materials. Of which there are none, in a vacuum.