qimpy.pre_init
Initialization that must occur before all other imports: - Create log. - Set GPU visibility before importing MPI and torch when possible.
Module Attributes
Log for the qimpy module, configurable using |
Functions
Update CUDA_VISIBLE_DEVICES to select one GPU based on local_rank of process. |