easydiffusion/scripts
Diana e7dc41e271
Automatic AMD GPU detection on Linux (#1078)
* Automatic AMD GPU detection on Linux

Automatically detects AMD GPUs and installs the ROCm version of PyTorch instead of the cuda one

A later improvement may be to detect the GPU ROCm version and handle GPUs that dont work on upstream ROCm, ether because they're too old and need a special patched version, or too new and need `HSA_OVERRIDE_GFX_VERSION=10.3.0` added, possibly check through `rocminfo`?

* Address stdout suppression and download failure

* If any NVIDIA GPU is found, always use it

* Use /proc/bus/pci/devices to detect GPUs

* Fix comparisons

`-eq` and `-ne` only work for numbers

* Add back -q

---------

Co-authored-by: JeLuF <jf@mormo.org>
2023-04-18 15:02:39 +05:30
..
bootstrap.bat Keep bootstrap.bat in the repo, until the new installer releases. However it won't be copied or used after installation. 2023-03-07 21:17:04 +05:30
bootstrap.sh Remove AVX check 2023-03-05 00:13:07 +01:00
check_modules.py Stop printing annoying ok messages 2022-12-24 19:13:17 +05:30
Developer Console.cmd Updated scripts to install sdkit into existing installations, while still working with new installations 2022-12-24 13:37:50 +05:30
developer_console.sh Updated scripts to install sdkit into existing installations, while still working with new installations 2022-12-24 13:37:50 +05:30
functions.sh fix: can't get file size if gnubin/stat is already installed in homebrew 2023-03-23 09:20:10 +09:00
install_status.txt Single-file installer - Include all the dependencies from an installed folder; Download the default models using the NSCurl plugin 2023-03-04 18:02:30 +05:30
on_env_start.bat user configuration 2023-04-02 09:16:33 -07:00
on_env_start.sh user configuration 2023-04-02 09:16:33 -07:00
on_sd_start.bat Merge pull request #1171 from JeLuF/p0417 2023-04-18 14:43:45 +05:30
on_sd_start.sh Automatic AMD GPU detection on Linux (#1078) 2023-04-18 15:02:39 +05:30
Start Stable Diffusion UI.cmd Remove bootstrap.bat, since it's only needed during installation (and the current installer contains it, and this installer will soon be phased out) 2023-03-07 21:16:05 +05:30
start.sh Fail fatally, add same check on Linux, add some extra checks on Linux 2023-01-19 00:40:20 +01:00
win_enable_long_filepaths.ps1 Keep v2 files in the repo, for the updater 2022-09-02 13:58:36 +05:30