Rate this Page

get_nvdec_cache_capacity#

torchcodec.decoders.get_nvdec_cache_capacity() int[source]#

Get the capacity of the per-device NVDEC decoder cache.

See also set_nvdec_cache_capacity().

Returns:

The maximum number of NVDEC decoders that can be cached per GPU device.

Return type:

int