To keep imports in Python snappy, it's wise not to execute any functional code;
Creates a cuda context on all visible gpus due to the call https://github.com/rusty1s/pytorch_scatter/blob/master/torch_scatter/__init__.py#L9
suffix = 'cuda' if torch.cuda.is_available() else 'cpu'
This statement torch.cuda.is_available() should be encapsulated and not be executed upon import.
I'm a bit busy to make a PR now [sorry], just putting this here for posterity.