Spaces:
Running on RTX PRO 6000
Running on RTX PRO 6000
Deploy simready-assets run 20261020-a3cb7f2-captions (GPU variant)
Browse files- Dockerfile +12 -10
- 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:
|
| 368 |
-
# each of the
|
| 369 |
-
# anyway). One search's page runs at most 16 at once (usdsearch's BATCH_CONCURRENCY)
|
| 370 |
-
#
|
| 371 |
-
|
| 372 |
-
|
|
|
|
| 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).
|
| 404 |
-
#
|
| 405 |
-
#
|
|
|
|
| 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=
|
| 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:
|
| 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 (
|
| 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
|