Amit Gelber
02/06/2025, 6:44 PMif torch.cuda.is_available():
return "cuda"
if torch.backends.mps.is_available():
return "mps"
raise RuntimeError("No device available")
service itself keeps restarting. W
What actually we need is the service try once and crash with sys exit 1 ( which will restart the pod )Amit Gelber
02/07/2025, 6:12 PMJian Shen Yap
02/10/2025, 4:03 AMAmit Gelber
02/14/2025, 6:01 PM