Cut into thin slices. The weight of the pulp without the skin is 400-450 grams.
Slice the bread if it is dry. Or put it in a bag and mash it with a rolling pin if it is completely stale. You should get large crumbs of different sizes.
Melt the butter in a preheated frying pan (you can drop a little vegetable oil so that it does not burn), lightly fry the chopped garlic. Send the breadcrumbs to him, mix well. Cook for a couple of minutes on low heat.
Grease the baking dish with butter, lay out several layers of pumpkin. Season with salt and pepper.
Spread half of the bread with garlic on top of the pumpkin. Sprinkle with thyme.
Then a layer of grated cheese.
Repeat the procedure with layers of pumpkin, thyme, a layer of bread and a layer of cheese. Pour in all the milk.