To cook the sweet potatoes in an instant pot: pour 2 cups of water into the instant pot, put a trivet inside the pot, and then place the sweet potatoes on top of the trivet. Cook for 15 minutes at high pressure (for medium sweet potatoes, 9 to 12 ounces), then naturally release pressure. Remove the sweet potatoes from the pot and place them onto a plate. Once cool enough to touch, remove the peel.