Spaces:
Runtime error
Runtime error
init
Browse files225 unmodified lines226227228229230231232233225 unmodified linesIf the size is not the same the submission will fail."""print(prompt)print(self.depth_estimator.device)print(self.image_segmentor.device)flush()self.generator = torch.Generator(device=device).manual_seed(self.seed)225 unmodified lines226227228229230231232233234235236237238239240241225 unmodified linesIf the size is not the same the submission will fail."""print(prompt)if torch.cuda.is_available():# Print the number of available GPUsprint("Available GPU devices:")for i in range(torch.cuda.device_count()):print(f"Device {i}: {torch.cuda.get_device_name(i)}")else:print("No GPU devices available. Using CPU.")print(self.depth_estimator.device)print(self.pipe.device)flush()self.generator = torch.Generator(device=device).manual_seed(self.seed)
app.py+9-1