aboutsummaryrefslogtreecommitdiffstats
path: root/modules/devices.py
AgeCommit message (Expand)AuthorLines
2023-05-21run basic torch calculation at startup in parallel to reduce the performance ...AUTOMATIC-0/+18
2023-05-10ruff auto fixesAUTOMATIC-1/+1
2023-04-29rename CPU RNG to RNG source in settings, add infotext and parameters copypas...AUTOMATIC-2/+2
2023-04-18Option to use CPU for random number generation.Deciare-2/+6
2023-02-01Refactor Mac specific code to a separate filebrkirch-45/+7
2023-02-01Refactor MPS fixes to CondFuncbrkirch-36/+14
2023-02-01MPS fix is still needed :(brkirch-0/+3
2023-01-28Merge pull request #7309 from brkirch/fix-embeddingsAUTOMATIC1111-3/+8
2023-01-28Remove MPS fix no longer needed for PyTorchbrkirch-3/+0
2023-01-28Refactor conditional casting, fix upscalersbrkirch-0/+8
2023-01-27clarify the option to disable NaN check.AUTOMATIC-0/+2
2023-01-27remove the need to place configs near modelsAUTOMATIC-4/+8
2023-01-25Add UI setting for upcasting attention to float32brkirch-1/+5
2023-01-25Add option for float32 sampling with float16 UNetbrkirch-0/+2
2023-01-19Merge pull request #6922 from brkirch/cumsum-fixAUTOMATIC1111-4/+7
2023-01-17Fix cumsum for MPS in newer torchbrkirch-4/+7
2023-01-17disable the new NaN check for the CIAUTOMATIC-0/+3
2023-01-16Add a check and explanation for tensor with all NaNs.AUTOMATIC-0/+28
2023-01-05Add support for PyTorch nightly and local buildsbrkirch-5/+23
2022-12-17Add numpy fix for MPS on PyTorch 1.12.1brkirch-0/+9
2022-12-03add built-in extension systemAUTOMATIC-1/+10
2022-12-03add comment for #4407 and remove seemingly unnecessary cudnn.enabledAUTOMATIC-1/+3
2022-12-03fix #4407 breaking UI entirely for card other than ones related to the PRAUTOMATIC-4/+2
2022-12-03Merge pull request #4407 from yoinked-h/patch-1AUTOMATIC1111-0/+7
2022-11-30Rework MPS randn fix, add randn_like fixbrkirch-12/+3
2022-11-27Merge pull request #4918 from brkirch/pytorch-fixesAUTOMATIC1111-7/+24
2022-11-27eliminate duplicated code from #5095AUTOMATIC-19/+11
2022-11-26torch.cuda.empty_cache() defaults to cuda:0 device unless explicitly set othe...Matthew McGoogan-2/+12
2022-11-21Add fixes for PyTorch 1.12.1brkirch-1/+27
2022-11-17Revert "MPS Upscalers Fix"brkirch-9/+0
2022-11-12change formatting to match the main program in devices.pyAUTOMATIC-5/+16
2022-11-12Update devices.py源文雨-1/+1
2022-11-12Fix wrong mps selection below MasOS 12.3源文雨-3/+10
2022-11-08actual better fixpepe10-gpu-5/+2
2022-11-07terrible hackpepe10-gpu-2/+9
2022-11-0616xx card fixpepe10-gpu-0/+3
2022-10-25MPS Upscalers Fixbrkirch-0/+4
2022-10-25Remove BSRGAN from --use-cpu, add SwinIRbrkirch-1/+1
2022-10-22remove parsing command line from devices.pyAUTOMATIC-9/+5
2022-10-22implement CUDA device selection by IDExtraltodeus-3/+18
2022-10-14Add 'interrogate' and 'all' choices to --use-cpubrkirch-1/+1
2022-10-10--no-half-vaeAUTOMATIC-1/+5
2022-10-04Merge branch 'master' into cpu-cmdline-optbrkirch-0/+10
2022-10-04send all three of GFPGAN's and codeformer's models to CPU memory instead of j...AUTOMATIC-0/+10
2022-10-04Add BSRGAN to --add-cpubrkirch-1/+1
2022-10-04Add --use-cpu command line optionbrkirch-3/+2
2022-10-04Merge branch 'master' into masterbrkirch-2/+1
2022-10-02initial support for training textual inversionAUTOMATIC-2/+1
2022-09-30When device is MPS, use CPU for GFPGAN insteadbrkirch-1/+1
2022-09-13first attempt to produce crrect seeds in batchAUTOMATIC-0/+10