So far I have only had marginal success with the TensorFlow-directml python library, however, it seems to be awful and maybe has a memory issue (small model and data yet trying to allocate 5-19GB into GPU RAM or RAM). I have tried to use ROCm, but This has led me to constant deadends even with older versions and docker methods.

At this point, I have no other ideas as to what I can do to get these programs to interact with my AMD RX580, and purchasing a new GPU is not an option.