arozantsev commited on
Commit
bef3c2a
·
verified ·
1 Parent(s): 26e2a02

Deploy simready-assets run 20261020-a3cb7f2-captions (GPU variant)

Browse files
Files changed (2) hide show
  1. Dockerfile +12 -10
  2. README.md +2 -2
Dockerfile CHANGED
@@ -364,12 +364,13 @@ ENV HF_STORAGE_API_TOKEN= \
364
  ASSERT_ADMIN_USER=false \
365
  USDSEARCH_VISION_VALIDATION_ENABLED=false \
366
  USDSEARCH_LLM_PARSING_ENABLED=false \
367
- # Validation limits are per deepsearch-api process: 16 checks in flight and an 83k-verdict cache in
368
- # each of the 6 processes (DEEPSEARCH_API_PROCESSES below), 96 and ~500k in all (Redis keeps every verdict
369
- # anyway). One search's page runs at most 16 at once (usdsearch's BATCH_CONCURRENCY); with 8, a 50-check
370
- # page took ~3 s on the endpoint, with 16 ~1.5 s (2026-10-15 benchmark on the endpoint's own vLLM args).
371
- USDSEARCH_VISION_VALIDATION_MAX_CONCURRENT=16 \
372
- USDSEARCH_VISION_VALIDATION_CACHE_SIZE=83333 \
 
373
  USDSEARCH_LLM_PARSING_FIELDS_FILEPATH=/app/search_fields.yaml \
374
  USDSEARCH_LLM_PARSING_PROMPT_FILEPATH=/app/llm_parse_prompt.txt \
375
  # Business telemetry — same as docker/Dockerfile.hf-space, see its comment.
@@ -400,13 +401,14 @@ ENV HF_STORAGE_API_TOKEN= \
400
  TRITON_SERVER_URL=localhost:8001 \
401
  SIGLIP2_TRITON_SERVER_SSL=false \
402
  # deepsearch-api processes, ONE uvicorn worker each, behind nginx's least_conn
403
- # upstream (supervisord-gpu.conf, nginx.conf.template). 6 for a10g-large
404
- # (12 vCPU / 46 GB): 6, 8 and 12 carried the same load in the lab (docs/
405
- # search-performance.md), 6 costs the least memory. Must equal supervisord-gpu.conf's
 
406
  # numprocs: nginx renders its upstream from this, so never set it as a Space
407
  # Variable. DEEPSEARCH_API_WORKERS is no longer read (a leftover Space Variable
408
  # of that name does nothing).
409
- DEEPSEARCH_API_PROCESSES=6 \
410
  PORT=7860
411
 
412
  ARG RUN_ID
 
364
  ASSERT_ADMIN_USER=false \
365
  USDSEARCH_VISION_VALIDATION_ENABLED=false \
366
  USDSEARCH_LLM_PARSING_ENABLED=false \
367
+ # Validation limits are per deepsearch-api process: 32 checks in flight and a 31k-verdict cache in
368
+ # each of the 16 processes (DEEPSEARCH_API_PROCESSES below), 512 and ~500k in all (Redis keeps every verdict
369
+ # anyway). One search's page runs at most 16 at once (usdsearch's BATCH_CONCURRENCY). 2026-10-20 lab, l4x4
370
+ # shape with the check-image cache: 16 per process capped the engine side at ~155 checks/s (p95 of all badges
371
+ # 14 s at 80 users); 32 held 3.2 s up to 240 users.
372
+ USDSEARCH_VISION_VALIDATION_MAX_CONCURRENT=32 \
373
+ USDSEARCH_VISION_VALIDATION_CACHE_SIZE=31250 \
374
  USDSEARCH_LLM_PARSING_FIELDS_FILEPATH=/app/search_fields.yaml \
375
  USDSEARCH_LLM_PARSING_PROMPT_FILEPATH=/app/llm_parse_prompt.txt \
376
  # Business telemetry — same as docker/Dockerfile.hf-space, see its comment.
 
401
  TRITON_SERVER_URL=localhost:8001 \
402
  SIGLIP2_TRITON_SERVER_SSL=false \
403
  # deepsearch-api processes, ONE uvicorn worker each, behind nginx's least_conn
404
+ # upstream (supervisord-gpu.conf, nginx.conf.template). 16 for l4x4 (48 vCPU):
405
+ # 2026-10-20 lab, l4x4 shape, 32 checks each: 16 processes held p95 of all badges at
406
+ # 3.2 s up to 240 users (6.3 s at 300, CPU-bound); 6 processes reached ~100 users
407
+ # with the CPU under 30 %. On a10g-large (12 vCPU) use 6: 8 cost ~20 % more CPU there. Must equal supervisord-gpu.conf's
408
  # numprocs: nginx renders its upstream from this, so never set it as a Space
409
  # Variable. DEEPSEARCH_API_WORKERS is no longer read (a leftover Space Variable
410
  # of that name does nothing).
411
+ DEEPSEARCH_API_PROCESSES=16 \
412
  PORT=7860
413
 
414
  ARG RUN_ID
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: blue
6
  sdk: docker
7
  app_port: 7860
8
  startup_duration_timeout: 1h
9
- hardware: a10g-large
10
  ---
11
 
12
  # SimReady Central USD Search
@@ -14,7 +14,7 @@ hardware: a10g-large
14
  SimReady Central USD Search — single-container demo (OpenSearch + Neo4j +
15
  Redis + deepsearch-api + asset-graph-service, SigLIP2 embeddings via a local
16
  siglip2-triton process — see docker/Dockerfile.hf-space-gpu). Runs on a GPU
17
- hardware tier (a10g-large), unlike the free-tier
18
  docker/Dockerfile.hf-space variant, which routes SigLIP2 to NVCF instead.
19
  The index itself is pulled from the artifact S3 bucket at container
20
  startup, not baked in. Deployed by
 
6
  sdk: docker
7
  app_port: 7860
8
  startup_duration_timeout: 1h
9
+ hardware: l4x4
10
  ---
11
 
12
  # SimReady Central USD Search
 
14
  SimReady Central USD Search — single-container demo (OpenSearch + Neo4j +
15
  Redis + deepsearch-api + asset-graph-service, SigLIP2 embeddings via a local
16
  siglip2-triton process — see docker/Dockerfile.hf-space-gpu). Runs on a GPU
17
+ hardware tier (l4x4), unlike the free-tier
18
  docker/Dockerfile.hf-space variant, which routes SigLIP2 to NVCF instead.
19
  The index itself is pulled from the artifact S3 bucket at container
20
  startup, not baked in. Deployed by