Dave is absolutely right. Confirm that the graphics card is not soldered to the motherboard first, otherwise it’s a new motherboard/laptop. The upgradeable laptop graphics cards use a mxm board, which is similar to a mini pcie slot. The graphics card bios needs to be compatible with the laptop bios for the nvidia optimus multiplexing to work (where the integrated graphics can be used in conjunction with the descret gpu). So using a gpu designed for a different laptop/manufacturer may not work. Finally, make sure the thermals of the new gpu are close to the original gpu.