Increase GPU task duration budget to 120s (45s was too tight for 4-bit tensor packing + generation, causing GPU task aborted)
Browse files
app.py
CHANGED
|
@@ -101,7 +101,7 @@ print(
|
|
| 101 |
)
|
| 102 |
|
| 103 |
|
| 104 |
-
@spaces.GPU(duration=
|
| 105 |
def generate_sql(question: str) -> tuple[str, str]:
|
| 106 |
"""Generate a plan+SQL completion for a natural-language question.
|
| 107 |
|
|
|
|
| 101 |
)
|
| 102 |
|
| 103 |
|
| 104 |
+
@spaces.GPU(duration=120)
|
| 105 |
def generate_sql(question: str) -> tuple[str, str]:
|
| 106 |
"""Generate a plan+SQL completion for a natural-language question.
|
| 107 |
|