Garden millipedes are not toxic to dogs, so your dog should be fine. However, it is unlikely that your dog would eat several millipedes intentionally. Millipedes have a foul-tasting secretion that can deter predators. If you are concerned about the millipedes in your dog's food, it is best to remove them before feeding your dog.