If the second one does not OOM, you should have better performance with it. The first is a way to get around the memory error the second would give you.
Both commands are completely equivalent in terms of training done otherwise.