We studied the dynamic instability of the vortex lattice in Nb/permalloy (permalloy = Ni 0.8 Fe 0.2 ) bilayers with different Py thickness d Py . When d Py is larger than some critical value, d ESD cr , which in our samples has been evaluated to be 125 nm, an inhomogeneous magnetic configuration is induced in the samples as a precursor to a fully developed stripe domain state. We found that this inhomogeneous magnetic configuration of the Py layer promotes larger values of the critical velocity for the vortex lattice instability, v * , with respect to the homogeneous case.