voidful commited on
Commit
95004fc
·
verified ·
1 Parent(s): d650c1b

Use raw reference audio within shorter GPU lease

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. tests/test_release_pins.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ CUDA_MATMUL_ALLOW_TF32 = True
22
  CUDNN_ALLOW_TF32 = True
23
  os.environ["MAMBA_DETERMINISTIC"] = "0"
24
 
25
- INTERACTIVE_GPU_LEASE_SECONDS = 90
26
  LONGFORM_GPU_LEASE_SECONDS = 120
27
 
28
  try:
 
22
  CUDNN_ALLOW_TF32 = True
23
  os.environ["MAMBA_DETERMINISTIC"] = "0"
24
 
25
+ INTERACTIVE_GPU_LEASE_SECONDS = 60
26
  LONGFORM_GPU_LEASE_SECONDS = 120
27
 
28
  try:
tests/test_release_pins.py CHANGED
@@ -1424,7 +1424,7 @@ def test_space_disables_experimental_gradio_ssr():
1424
  def test_space_uses_shorter_interactive_zero_gpu_lease():
1425
  source = (ROOT / "app.py").read_text(encoding="utf-8")
1426
 
1427
- assert "INTERACTIVE_GPU_LEASE_SECONDS = 90" in source
1428
  assert "LONGFORM_GPU_LEASE_SECONDS = 120" in source
1429
  assert (
1430
  "interactive_gpu = spaces.GPU("
 
1424
  def test_space_uses_shorter_interactive_zero_gpu_lease():
1425
  source = (ROOT / "app.py").read_text(encoding="utf-8")
1426
 
1427
+ assert "INTERACTIVE_GPU_LEASE_SECONDS = 60" in source
1428
  assert "LONGFORM_GPU_LEASE_SECONDS = 120" in source
1429
  assert (
1430
  "interactive_gpu = spaces.GPU("