Due to a problem in the Quartus® Prime Pro Edition Software version 24.2. You will see the Internal Error (IE) shown above when using the inference-flow for Tensor-Mode DSPs with RTL that has too many pipeline stages between the result of the intermediate multipliers and their column addition, but otherwise has the correct structure for a tensor-mode DSPs.
An IE will be observed during the Quartus® Prime Pro synthesis operation.
Fix the RTL to match the actual tensor mode operation, refer to the templates that are included in the Quartus® Prime Pro Edition Software, as shown below: