I don’t think it’s rude bc good/bad smells are subjective. I can’t cook fish of any kind in any way bc the smell makes my roommate nauseous. Anyone who dislikes the smell of ur food is gonna have to suck it up bc that’s what existing in public is, being able to tolerate inconveniences. ALL THAT ASIDE, there are way worse/strong smells than garlic and for a 6 hour class like u said everyone will be eating so who cares