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

Reduce number of choices in CRUFT template #687

Open
JustKuzya opened this issue Dec 12, 2024 · 0 comments
Open

Reduce number of choices in CRUFT template #687

JustKuzya opened this issue Dec 12, 2024 · 0 comments

Comments

@JustKuzya
Copy link
Collaborator

JustKuzya commented Dec 12, 2024

To minimize number of questions CRUFT template demands answered we should:

  1. For figuring out docker-compose or docker compose run (inside try-except-finally) with subprocess running 'which docker compose' and conditionally on the first test failing 'which docker-compose'. We should run the test in exactly that order as a standalone docker-compose is being phased out by docker in favor of the CLI verb 'compose'.

  2. The CPU or GPU version of TensorFlow and PyTorch question makes sense ONLY if there is a GPU present in the system. It would be reasonable to assume that CPU is always present, unless someone runs an Abacus or Flinstone-PC, which Dioptra, most likely, doesn't support 😊. How to check the nVidia GPU presence without TensorFlow or PyTorch installed is working with use of subprocess, as described here. HB and DC tested that the method works against GTX 1080 on Windows, RTX 2080Ti on U-24.04 Linux and Mobile Quadro T2000 with Max-Q.

  • AMD GPU check should work for both Radeon and Instinct(MI) (check it please, if you have access to AMD Radeon and especially Instinct):
subprocess.check_output(["lspci", "-vnn"], text=True)
  • Qualcomm Hexagon and Intel Arc GPUs are an open question for now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant