For anyone dealing with that situation, the only truly effective solution is to make sure the next time that you choose an apartment complex where the landlord does not allow smoking on the premises (whether tobacco or marijuana).
If your only interactions are asking to turn the volume down or don't do the $annoying_thing, yes you'll get that response. And yeah some times you'll have neighbors that simply won't engage in community building but once I figured this out I realized those people are the exception not the rule. I also ended up getting some relationships that I would have never been exposed to in my professional or personal life.
The vectors for spreading of air between apartments can be varied. Internal, external, air intakes, communal infrastructure etc.
How this relates to the unavoidable and highly pungent smell of weed I do not know
Traceback (most recent call last): File "<stdin>", line 1, in <module> ZeroDivisionError: division by zero
Not really. If you can't sleep in your own bed because a pungent smell of shit permeates your home that's not acceptable.
You might be happy to live like that but civilised people are not
If it bothers you, you could take it up with your neighbors just as you would if they were blasting loud music late at night.
Criminalizing it just leads to absolutely ruined lives and misery on a much worse scale than just an unpleasant smell.