MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / disable_full_determinism

Function disable_full_determinism

src/diffusers/utils/testing_utils.py:822–825  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

820
821
822def disable_full_determinism():
823 os.environ["CUDA_LAUNCH_BLOCKING"] = "0"
824 os.environ["CUBLAS_WORKSPACE_CONFIG"] = ""
825 torch.use_deterministic_algorithms(False)
826
827
828# Utils for custom and alternative accelerator devices

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected