A 32-year-old PhD student at IIT-Kanpur allegedly died by suicide in his hostel room, the police said on Wednesday, while in the south a 23-year-old IIT-Hyderabad student allegedly died by suicide on Wednesday at a lodge near the institute where he was staying.