12 weeks is preferrable. 10 weeks is acceptable. 8 or 9 weeks the breeder should have a really good reason to let them go. I wouldn't leave a Yorkie puppy home alone for more than a couple hours before atleast 12 or 14 weeks and then it is touchy. It is best to come home at lunch and check.
Sorry for the sentence fragments.