Spaces:
Paused
Paused
Update services/vince_pool_manager.py
Browse files
services/vince_pool_manager.py
CHANGED
|
@@ -202,7 +202,7 @@ class VincePoolManager:
|
|
| 202 |
|
| 203 |
# --- Instância Singleton Global ---
|
| 204 |
try:
|
| 205 |
-
NUM_GPUS_FOR_VINCE = int(os.getenv("VINCE_GPUS", "
|
| 206 |
# Passamos `output_root` lido da env var para o construtor.
|
| 207 |
output_root_path = os.getenv("OUTPUT_ROOT", "/app/outputs")
|
| 208 |
vince_pool_manager_singleton = VincePoolManager(num_gpus=NUM_GPUS_FOR_VINCE, output_root=output_root_path)
|
|
|
|
| 202 |
|
| 203 |
# --- Instância Singleton Global ---
|
| 204 |
try:
|
| 205 |
+
NUM_GPUS_FOR_VINCE = int(os.getenv("VINCE_GPUS", "1"))
|
| 206 |
# Passamos `output_root` lido da env var para o construtor.
|
| 207 |
output_root_path = os.getenv("OUTPUT_ROOT", "/app/outputs")
|
| 208 |
vince_pool_manager_singleton = VincePoolManager(num_gpus=NUM_GPUS_FOR_VINCE, output_root=output_root_path)
|