It is important that my students attend classes and learn the techniques needed. In order that they continue to do so, I mustn't make attending too unattractive a prospect.
On attendance: They do not have to attend. No one is marching them to lectures. Then, if they want to leave early that is up to them. If I try to say they can't leave early they may well not come back next week.
Equally, if they want to not attend and work at their own pace, that is also their choice. I cannot march them to lectures, nor would I want to.
They are not children, they are responsible for their own education at this point.