Spaces:
Paused
Paused
Update api/ltx/ltx_aduc_manager.py
Browse files
api/ltx/ltx_aduc_manager.py
CHANGED
|
@@ -82,7 +82,7 @@ class LTXMainWorker(BaseWorker):
|
|
| 82 |
elif precision == "mixed_precision": self.autocast_dtype = torch.float16
|
| 83 |
logging.info(f"[LTXWorker-{self.worker_id}] Autocast precision policy set to {self.autocast_dtype}")
|
| 84 |
#except Exception as e:
|
| 85 |
-
logging.warning(f"[LTXWorker-{self.worker_id}] Could not set precision policy from config. Defaulting to float32. Error: {e}")
|
| 86 |
|
| 87 |
def execute(self, job_func: Callable, args: tuple, kwargs: dict) -> Any:
|
| 88 |
self.is_busy = True
|
|
|
|
| 82 |
elif precision == "mixed_precision": self.autocast_dtype = torch.float16
|
| 83 |
logging.info(f"[LTXWorker-{self.worker_id}] Autocast precision policy set to {self.autocast_dtype}")
|
| 84 |
#except Exception as e:
|
| 85 |
+
#logging.warning(f"[LTXWorker-{self.worker_id}] Could not set precision policy from config. Defaulting to float32. Error: {e}")
|
| 86 |
|
| 87 |
def execute(self, job_func: Callable, args: tuple, kwargs: dict) -> Any:
|
| 88 |
self.is_busy = True
|