@Viberious Sorry to hear that
(be happy you were there to catch it and no one got hurt), did the fire start at the PCIE slot on the motherboard ? If so maybe the card was not pushed all the way in and started to short sadly. Also did you have seperate power cables to each PCIE power connector on the gpu coming from the PSU? Not the second cable with connector that comes off the main cable on each PCIE power cable.
Sadly a pc fire can easily happen if something is a miss and the PSU doesn't detect a direct short or an OCP situation. This is why I also warn people with PSU power supplies to make sure to get a good one and one that is right for their power use of their components. Your power supply was perfectly fine for the system you have power wise but sadly it didn't detect an issue and kept pushing power to the components that were not working right and started a fire.
@xPETEZx @Insolent mint See why I make sure people are careful now with PSUs and using right ones from day one and not risking using an underpowered psu maybe for the job, because fires can happen and the risk of electric shock even with a good brand PSU sadly and one with more than enough power for the system. But as we have seen the protection on PSUs can't be 100% trusted as in this case.