Rx5500xt does not work if i connect rx 5700 xt

Hi, I’m new to hiveOS and have a problem, I have a worker with a rx5500xt and another rx5700xt, if I connect the two graphics cards, the rx5500xt recognizes it but does not work, I have noticed that it does not read the amount of ram that the card has either If I connect the two but if I connect the rx5500xt, I will tell you the amount of ram that the card has. I don’t know how to solve it, someone can help me, thanks.