Reporting K-1 after divorce when still in both names

My wife and I divorce in 2017 and still held investments in a limited partnership in both of our names. These were sold in 2019 and we received schedule K-1. How do we enter all this on our taxes? Do we simply split the numbers? Although the forms have both of our names, it's just my SSN.  Does that mean that I need to report it all on my taxes, or is there a way to split it somehow?