In a 9x13 inch baking dish, toss together the sweet potato, olive oil, salt, garlic powder and onion powder until all are coated. Roast for 30 minutes, stirring halfway through.
While that's happening, cook your bacon. Then transfer to a paper towel lined dish.
In a small bowl, whisk together the heavy cream, garlic and rosemary until combined.
Reduce the oven temperature to 400℉. Evenly pour the heavy cream mixture on top of the potatoes. Sprinkle half of the cheese and bacon and gently toss everything together. Top with the remaining cheese and bacon and bake for 10-15 minutes or until cheese is golden. Garnish with more thyme and serve!