Let $f: X \to Y$ be a flat Cohen-Macaulay (CM) morphism with pure relative dimension $n$ between two projective varieties $X$ and $Y$. Then the relative dualizing sheaf $\omega_{X/Y}$ is $Y$-flat. My question is, what extra conditions for the fibers of $f$ do we need (if there are) to ensure that $f_* \omega_{X/Y}$ is locally free? For example, what do we need when $n=1$ or CM is enough? For simplicity, we may assume that general fibers of $f$ are normal (or smooth).
PS: I read from Viehweg's book "Quasi-projective moduli for polarized manifolds" that $f_* \omega_{X/Y}$ is locally free if all fibers are normal with at worst rational singularities. Probably this is a bit too strong for $n=1$.
Thanks!