If it's 25hp or smaller, it's over. Throw it away. If you send it back to the manufacturer, they will throw it away for you and send you a new one anyway.
If it's larger than that, the first test would be the input diodes. Use a diode tester working from the + and - DC bus terminals to the three AC input leads. If you have any bad ones, and it doesn't matter which ones since they are all built into one block, look to see if the diode block can be separated from the circuit board that it is mounted on. It will usually be sandwiched in between the heatsink and the circuit board.
If the circuit board connections can be separated from the circuit board without destroying the board, you can replace the block. Otherwise, with a bad diode block, you still end up throwing away the drive.
If the drive is very large (over 400 amps, or so), you may encounter separate diode blocks or maybe diode pairs in one block. In that case you can replace just the bad one if you can get it out without wrecking everything close to it.
Good luck. 99% chance you will be throwing it away, sadly.