I would say about a third of the people in my PhD chemistry program were habitual weed users. Probably a half dozen were “wake and bakers”, people who used marijuana to manage their anxiety or other issues and were more productive people as a result of their use. Others used pot more like a lot of people use alcohol, and there were folks like me who might smoke if offered at a Friday night party, but would never go to work under the influence.
I know for a lot of very intelligent people, weed helps manage some of the negative personality traits that often come from being highly intelligent.