pyg_lib
- cuda_version() int[source]
Returns the CUDA version for which
pyg_libwas compiled with.- Returns:
int– The CUDA version.
- get_home_dir() str[source]
Gets the cache directory used for storing all
pyg-libdata.If
set_home_dir()is not called, the path is given by the environment variable$PYG_LIB_HOMEwhich defaults to"~/.cache/pyg_lib".- Returns:
str– The cache directory.