Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(installer): remove extra GPU options #6119

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

psychedelicious
Copy link
Collaborator

@psychedelicious psychedelicious commented Apr 3, 2024

Summary

  • Remove CUDA_AND_DML. This was for onnx, which we have since removed.
  • Remove AUTODETECT. This option causes problems for windows users, as it falls back on default pypi index resulting in a non-CUDA torch being installed.
  • Add more explicit settings for extra index URL, based on the torch website
  • Fix bug where xformers wasn't installed on linux and/or windows when autodetect was selected

Related Issues / Discussions

Discord thread where the user ended up with an incompatible version of torchaudio (? why this was installed, I do not know) after choosing the autodetect option:
https://discord.com/channels/1020123559063990373/1020123559831539744/1224998262100983829

Also another user at the same time had a problem with autodetect.

QA Instructions

Run the install.sh.in script to test the installer.

I tested macOS and Linux (CUDA).

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable) n/a
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added installer PRs that change the installer docs PRs that change docs labels Apr 3, 2024
@psychedelicious psychedelicious enabled auto-merge (rebase) April 3, 2024 21:41
- Remove `CUDA_AND_DML`. This was for onnx, which we have since removed.
- Remove `AUTODETECT`. This option causes problems for windows users, as it falls back on default pypi index resulting in a non-CUDA torch being installed.
- Add more explicit settings for extra index URL, based on the torch website
- Fix bug where `xformers` wasn't installed on linux and/or windows when autodetect was selected
Remove reference to the autodetect GPU device option.
@psychedelicious psychedelicious force-pushed the psyche/fix/installer/remove-extra-gpu-opts branch from d9783ed to f9273c9 Compare April 3, 2024 21:41
@psychedelicious psychedelicious merged commit f887e03 into main Apr 3, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/installer/remove-extra-gpu-opts branch April 3, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs PRs that change docs installer PRs that change the installer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants