我用的CPU是AMD 5975WX,显卡是4块4090。cuda版本为cuda12,pytoch版本为2.0

This is not a cpu issue but a mainboard/bios one. Browsing the manual of your board, please check the ACS setting in bios.