develop #4

Merged
Fabel merged 103 commits from develop into main 2025-03-01 21:47:17 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit bba5e2179d - Show all commits

View File

@ -124,7 +124,7 @@ class ImageUpscaler:
# Perform inference with the model
with torch.no_grad():
with torch.cuda.amp.autocast(device_type="cuda"):
with torch.amp.autocast(device_type="cuda"):
output_tensor = self.model(preprocessed_image)
# Postprocess and return the upscaled image