Terminate this module and all of its submodules.
If nothing has to be done, just pass. Is used for terminating parallel execution and threads in specific models.
BaseModule.terminate()
dgs.models.module.BaseModule.configure_torch_module
dgs.models.module.BaseModule.validate_params