Santa Clara Valley Medical Center spokeswoman Joy Alexiou says the hospital has received two victims from the shooting and expects three more. She had no information on their conditions.
Video first posted on social media sites showed people running for safety at the festival.
The festival is a nationally known three-day event that attracts thousands of garlic lovers. Sunday was the final day of the festival.