Adjustable Speed drives are covered in 430.120. The ampacity of the conductor must be at least 125% of the drive rating.
A 7 1/2 HP has a FLA of 24 amps. I don't think the 25 amps breaker will do.