Niners defensive end Nick Bosa will not practice the next few weeks while receiving treatment for a hamstring strain.