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

[ITensorGPU] [ENHANCEMENT] Add Github Action to test loading ITensorGPU #1120

Closed
mtfishman opened this issue Apr 28, 2023 · 0 comments
Closed
Labels
enhancement New feature or request ITensorGPU Issues or pull requests related to the ITensorGPU package.

Comments

@mtfishman
Copy link
Member

Add a Github Action to test loading ITensorGPU (and the new NDTensorCUDA extension) on systems without CUDA installed, since we want that to work like CUDA.jl does. It could just be a script that executes using ITensorGPU.

If needed, CUDA.functional() can be used as a barrier to make sure code doesn't execute at load time that relies on CUDA functionality.

If this isn't handled properly, it can cause issues for registering new versions of ITensorGPU: JuliaRegistries/General#82516

See for example:
https://cuda.juliagpu.org/stable/installation/conditional/#Scenario-2:-GPU-is-optional
7120090

@mtfishman mtfishman added enhancement New feature or request ITensorGPU Issues or pull requests related to the ITensorGPU package. labels Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ITensorGPU Issues or pull requests related to the ITensorGPU package.
Projects
None yet
Development

No branches or pull requests

1 participant