aboutsummaryrefslogtreecommitdiffstats
path: root/modules/devices.py
Commit message (Expand)AuthorAgeFilesLines
* run basic torch calculation at startup in parallel to reduce the performance ...AUTOMATIC2023-05-211-0/+18
* ruff auto fixesAUTOMATIC2023-05-101-1/+1
* rename CPU RNG to RNG source in settings, add infotext and parameters copypas...AUTOMATIC2023-04-291-2/+2
* Option to use CPU for random number generation.Deciare2023-04-191-2/+6
* Refactor Mac specific code to a separate filebrkirch2023-02-011-45/+7
* Refactor MPS fixes to CondFuncbrkirch2023-02-011-36/+14
* MPS fix is still needed :(brkirch2023-02-011-0/+3
* Merge pull request #7309 from brkirch/fix-embeddingsAUTOMATIC11112023-01-281-3/+8
|\
| * Remove MPS fix no longer needed for PyTorchbrkirch2023-01-281-3/+0
| * Refactor conditional casting, fix upscalersbrkirch2023-01-281-0/+8
* | clarify the option to disable NaN check.AUTOMATIC2023-01-271-0/+2
* | remove the need to place configs near modelsAUTOMATIC2023-01-271-4/+8
|/
* Add UI setting for upcasting attention to float32brkirch2023-01-251-1/+5
* Add option for float32 sampling with float16 UNetbrkirch2023-01-251-0/+2
* Merge pull request #6922 from brkirch/cumsum-fixAUTOMATIC11112023-01-191-4/+7
|\
| * Fix cumsum for MPS in newer torchbrkirch2023-01-181-4/+7
* | disable the new NaN check for the CIAUTOMATIC2023-01-171-0/+3
* | Add a check and explanation for tensor with all NaNs.AUTOMATIC2023-01-161-0/+28
|/
* Add support for PyTorch nightly and local buildsbrkirch2023-01-061-5/+23
* Add numpy fix for MPS on PyTorch 1.12.1brkirch2022-12-171-0/+9
* add built-in extension systemAUTOMATIC2022-12-031-1/+10
* add comment for #4407 and remove seemingly unnecessary cudnn.enabledAUTOMATIC2022-12-031-1/+3
* fix #4407 breaking UI entirely for card other than ones related to the PRAUTOMATIC2022-12-031-4/+2
* Merge pull request #4407 from yoinked-h/patch-1AUTOMATIC11112022-12-031-0/+7
|\
| * actual better fixpepe10-gpu2022-11-081-5/+2
| * terrible hackpepe10-gpu2022-11-081-2/+9
| * 16xx card fixpepe10-gpu2022-11-071-0/+3
* | Rework MPS randn fix, add randn_like fixbrkirch2022-11-301-12/+3
* | Merge pull request #4918 from brkirch/pytorch-fixesAUTOMATIC11112022-11-271-7/+24
|\ \
| * | Add fixes for PyTorch 1.12.1brkirch2022-11-211-1/+27
| * | Revert "MPS Upscalers Fix"brkirch2022-11-171-9/+0
* | | eliminate duplicated code from #5095AUTOMATIC2022-11-271-19/+11
* | | torch.cuda.empty_cache() defaults to cuda:0 device unless explicitly set othe...Matthew McGoogan2022-11-261-2/+12
|/ /
* | change formatting to match the main program in devices.pyAUTOMATIC2022-11-121-5/+16
* | Update devices.py源文雨2022-11-121-1/+1
* | Fix wrong mps selection below MasOS 12.3源文雨2022-11-121-3/+10
|/
* MPS Upscalers Fixbrkirch2022-10-251-0/+4
* Remove BSRGAN from --use-cpu, add SwinIRbrkirch2022-10-251-1/+1
* remove parsing command line from devices.pyAUTOMATIC2022-10-221-9/+5
* implement CUDA device selection by IDExtraltodeus2022-10-211-3/+18
* Add 'interrogate' and 'all' choices to --use-cpubrkirch2022-10-141-1/+1
* --no-half-vaeAUTOMATIC2022-10-101-1/+5
* Merge branch 'master' into cpu-cmdline-optbrkirch2022-10-041-0/+10
|\
| * send all three of GFPGAN's and codeformer's models to CPU memory instead of j...AUTOMATIC2022-10-041-0/+10
* | Add BSRGAN to --add-cpubrkirch2022-10-041-1/+1
* | Add --use-cpu command line optionbrkirch2022-10-041-3/+2
* | Merge branch 'master' into masterbrkirch2022-10-041-2/+1
|\|
| * initial support for training textual inversionAUTOMATIC2022-10-021-2/+1
* | When device is MPS, use CPU for GFPGAN insteadbrkirch2022-10-011-1/+1
|/
* first attempt to produce crrect seeds in batchAUTOMATIC2022-09-131-0/+10