Don't do this, you have to flash the exact bios of your card, to avoid any kind of problem, and brick your card
Here:
https://www.techpowerup.com/vgabios/You can find all bios of modern GPUs
So if it can't. Can i rewrite the bios of my 4gb gpu card and edit the bios of my 8gb in the polaris?