The US attorneys dont even prosecute pot cases for anything less than 500lbs. They hand it to the respective state and tell them 'do you want it?' So yes, technically local cops can enforce federal law, but for the case of pot it has little consequence.
That may change going forward under Jeff 'pot is worse than heroin' Sessions.