cuda
¶
Code inside this file can safely assume cuda platform, e.g. importing pynvml. However, it should not initialize cuda context.
Classes¶
fastvideo.platforms.cuda.CudaPlatformBase
¶
fastvideo.platforms.cuda.NvmlCudaPlatform
¶
Bases: CudaPlatformBase
Functions¶
fastvideo.platforms.cuda.NvmlCudaPlatform.is_full_nvlink
classmethod
¶
query if the set of gpus are fully connected by nvlink (1 hop)