Settings#

Legate Sparse has runtime settings that can be configured through environment variables.

fast-spgemm#

Type:

bool (“0” or “1”)

Env var:

LEGATE_SPARSE_FAST_SPGEMM

Default:

False

Switch to faster CUSPARSE_SPGEMM_ALG1, which, however, use significantly more FB memory. It will be used by default when cusparse<12.1, where memory-restricted SpGEMM was introduced.

cudss-comm-lib#

Type:

str

Env var:

CUDSS_COMM_LIB

Default:

‘’

For multi-gpu runs, set CUDSS_COMM_LIB env to /path/to/libcudss_commlayer_nccl.so