AllenCell / AllenCell/allencell-segmenter-ml

Check for compatible cuda and pytorch version and show dialog box with instructions if needed

Offen
#491 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @hughes036 Auf GitHub ansehen
🚨 high priority🚨
Vorherrschende Sprache
Python
Sterne
5
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When the plugin starts up we should use `torch.cuda.available()` to check if the user's cuda driver is compatible with the version of pytorch installed on their system.

if incompatible, do `nvidia-smi` to check if they have a gpu on their system, and if they do,`nvcc --version` to check the version of cuda currently on their system, which may require error handling if the user has no GPU available on their system. Display all relevant information about their gpu/cuda drivers, a link to pytorch versions and a link to our documentation on how to install pytorch.

show this message one time, and set an application property (like experiments home) to not display this message again.

include the option to display this in our dropdown menu

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.