Fix #70 by forcing inference in prepare task.