You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about/concepts/video/abstractions.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ A stage represents a single step in your data curation workflow. Video stages ar
48
48
Each processing stage:
49
49
50
50
1. Inherits from `ProcessingStage`
51
-
2. Declares a stable `name` and `resources: Resources` (CPU cores, GPU memory, optional NVDEC/NVENC, or more than one GPU)
51
+
2. Declares a stable `name` and `resources: Resources` (CPU cores, GPU memory, entire GPU flag, or multiple GPUs)
52
52
3. Defines `inputs()`/`outputs()` to document required attributes and produced attributes on tasks
53
53
4. Implements `setup(worker_metadata)` for model initialization and `process(task)` to transform tasks
54
54
@@ -75,9 +75,8 @@ Refer to the stage base and resources definitions in Curator for full details.
75
75
`Resources` support both fractional and whole‑GPU semantics:
76
76
77
77
-`gpu_memory_gb`: Request a fraction of a single GPU by memory; Curator rounds to a fractional GPU share and enforces that `gpu_memory_gb` stays within one device.
78
-
-`entire_gpu`: Request an entire GPU regardless of memory (also implies access to NVDEC/NVENC on that device).
78
+
-`entire_gpu`: Request an entire GPU regardless of memory (also implies access to hardware decoders and encoders on that device).
79
79
-`gpus`: Request more than one GPU for a stage that is multi‑GPU aware.
80
-
-`nvdecs` / `nvencs`: Request hardware decode/encode units when needed.
81
80
82
81
Choose one of `gpu_memory_gb` (single‑GPU fractional) or `gpus` (multi‑GPU). Combining both is not allowed.
0 commit comments