MANAGER_INIT_IN_MAIN | SOPProcessManager init in main() before uvicorn.run() — not inside lifespan() | skill_01_fastapi_endpoints.md |
NAMED_KWARGS | create_video_processor() uses named kwargs; camera args as separate kwargs | skill_06_sop_process_manager.md |
LIVE_REQUIRES_STREAM_TRUE | stream: true required for live inputs (RTSP / camera) | skill_08_basler_camera.md |
VLM_DISABLED_DISABLES_SOP_CHECKER | DISABLE_VLM_INFERENCE=true auto-disables SOP checker at import | skill_06_sop_process_manager.md |
CHUNK_PARAMS_MAX_LENGTH | ChunkParams.max_length_sec = 10s internal; 60s API default | skill_06_sop_process_manager.md |
VLM_WARMUP_BEFORE_DDM | ModelInitializer: VLM warmup FIRST, then CV dummy pipeline | skill_06_sop_process_manager.md |
VLM_WARMUP_3_FRAMES | VLM warmup needs 3 frames (torch.zeros) — Qwen3VL hangs on < 3 | skill_06_sop_process_manager.md |
THREAD_POOL_SIZES | 4 thread pools: cv(32), clip(32), vlm_inference(64), vlm_request(64) | skill_06_sop_process_manager.md |
MEDIA_INFO_PYMEDIAINFO | Media info via pymediainfo; live sources set fps=30/duration=inf directly | skill_06_sop_process_manager.md |
CAMERA_EMULATION_PYLON_CAMEMU | PYLON_CAMEMU=1 for camera emulation (serial 0815-0000) | skill_08_basler_camera.md |
DEEPSTREAM_LIB_HIDE | DeepStream lib hide trick: rename lib → lib.tmp during gst-plugin-pylon build | skill_08_basler_camera.md |
VLM_REAL_GPU_FRAMES | VLM uses real GPU frames via DecodedFrameRetriever; never torch.zeros for inference | skill_06_sop_process_manager.md |
BUFFER_RETRIEVER_STATIC_BASE | DecodedFrameRetriever MUST inherit BufferRetriever statically via super().__init__(); runtime __class__.__bases__ mutation hangs pipeline.attach() | skill_06_sop_process_manager.md |
FRAME_RETRIEVER_PRIORITY | create_inference_pipeline: frame_retriever= kwarg takes priority over frame_queue | skill_03_deepstream_pipeline.md |
MUX_ORIGINAL_RESOLUTION | nvstreammux uses original resolution (not 224); pass mux_width/mux_height from get_media_info() (probe live RTSP for non-camera inputs; camera path unaffected) | skill_03_deepstream_pipeline.md, skill_06_sop_process_manager.md |
FILE_URI_NO_DOUBLE_PREFIX | create_inference_pipeline file source: check file_path.startswith("file://") before prepending — API passes file:// URLs directly | skill_03_deepstream_pipeline.md |
CLEANUP_ON_DISCONNECT | Pipeline cleanup on client disconnect via trigger_stop_processors in try/finally | skill_07_sse_streaming.md |
UNIFIED_CLIP_POST_PROCESS | Unified clip_post_process() for file + live; stop() puts None in _score_queue | skill_06_sop_process_manager.md |
ABORT_INFLIGHT_VLM | Abort in-flight VLM requests on stop() via llm.abort(req_id) | skill_06_sop_process_manager.md |
LOGGER_EXPORT_GET_LOGGER | ds_logger.py must export get_logger | skill_06_sop_process_manager.md |
KAFKA_USE_CREATE_PRODUCER | Kafka: use create_producer() from messager.py; no Messager class | skill_06_sop_process_manager.md |
USER_PROMPT_PRIORITY | User request text takes priority over VLM_PROMPT_PATH file; {"type":"text"} in the request overrides the config-file prompt | skill_06_sop_process_manager.md |
EVAL_USE_CONFIG_PROMPT | Eval/latency requests omit request text by default so the VLM uses VLM_PROMPT_PATH | skill_12_evaluation_workflow.md, skill_13_verification_curl.md, skill_15_latency_measurement.md, skill_17_camera_latency_measurement.md |
CHUNK_SCHEMA_FIELD_NAMES | Chunk schema: chunk_idx, cv_boundary_score, checker_result; summary chunk_idx=-1 | skill_06_sop_process_manager.md |
SEQUENTIAL_FRAME_DRAIN | Drain decoded_frame_queue (FIFO, shared across chunks) in a SINGLE thread and submit VLM per chunk incrementally; parallel drain steals frames → 0-frame chunks / wrong VLM input | skill_06_sop_process_manager.md |
WALL_CLOCK_BEFORE_GPU | DecodedFrameRetriever.consume(): capture wall_clock_entry = time.time() BEFORE GPU dlpack; queue 3-tuple (timestamp, wall_clock_entry, tensor) | skill_06_sop_process_manager.md, skill_17_camera_latency_measurement.md |
CHUNK_E2E_PIPELINE_TIMESTAMPS | Write pipeline_chunk_end_timestamp (last frame wall_clock) and pipeline_vlm_ready_timestamp (tm_e2e.now()) into chunk_info for camera latency (§ 17) | skill_06_sop_process_manager.md, skill_17_camera_latency_measurement.md |
VLM_INFERENCE_REQUIRED_KWARGS | Every VLLMInference.inference() call must pass video_fps, system_prompt, max_completion_tokens | skill_06_sop_process_manager.md |
UNIFORM_CHUNKING_BYPASSES_DDM | chunking_options.algorithm="uniform" → fixed-length chunks; create_inference_pipeline(uniform_chunk=True) skips DDM but keeps tee1 fanout; Stage 2 uses uniform_clip_post_process | skill_02_pydantic_schemas.md, skill_03_deepstream_pipeline.md, skill_06_sop_process_manager.md |
DDM_TEMPORAL_CONFIGURABLE | SLIDING_WINDOWS_SIZE = 2*FRAMES_PER_SIDE + SEQUENCE_BATCH rendered into preprocess/nvinferserver (no hard-coded 18); Triton config.pbtxt sequence dim -1 | skill_04_config_templates.md, skill_05_triton_ddm_model.md |
DDM_TRT_OPTIONAL_PATH | DDM_TRT_OPTIMIZATION=true runs DDM via TensorRT (per-thread contexts, fixed batch = SEQUENCE_BATCH); PyTorch fallback; never both. PyTorch is default | skill_05_triton_ddm_model.md |
DDM_TRT_STREAM_ORDERING | DDMTensorRTEngine.infer(): wait_stream(current) → execute_async_v3 → torch.cuda.synchronize(device) (NOT per-stream). Per-stream sync leaves TRT aux-stream work in flight → gst-CV SIGSEGV (NVBug 6289256) | skill_05_triton_ddm_model.md |
METADATA_LICENSE_FROM_FILE | /v1/metadata reads licenseInfo from DS_SOP_LICENSE_PATH (default /opt/nvidia/nvds_sop/license.txt); never hard-code license text | skill_01_fastapi_endpoints.md |
CAMERA_EMULATION_FRAMES_RGB | Pylon emulation PNGs must be explicit 3-channel RGB (matches Emulation_0815-0000.pfs PixelFormat=RGB8Packed); generate via nvvideoconvert ! videoconvert ! "video/x-raw,format=RGB" ! pngenc | skill_08_basler_camera.md |
COMPOSE_ENV_PASSTHROUGH | docker compose only substitutes ${VAR} references; every runtime env var must be explicitly listed under environment: to reach the container. | skill_09_docker_build_deploy.md |