Allow the sweet potatoes to cool to at least room temperature, or cook in advance and refrigerate until you are ready to make this cake.