Merge branch 'master' into stable

This commit is contained in:
Jairo Correa
2022-10-02 18:31:19 -03:00
38 changed files with 1593 additions and 408 deletions

View File

@@ -33,10 +33,9 @@ def enable_tf32():
errors.run(enable_tf32, "Enabling TF32")
device = get_optimal_device()
device_codeformer = cpu if has_mps else device
dtype = torch.float16
def randn(seed, shape):
# Pytorch currently doesn't handle setting randomness correctly when the metal backend is used.