In a large skillet, render the bacon until crispy, about 8 minutes. Add the onions. Season with salt and pepper. Saute the onions until soft, about 2 minutes. Add the garlic and sweet potatoes. Season with salt and pepper. Saute for 10 to 15 minutes. Remove from heat and serve warm.