You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support Dataset cpu-mode in environment with GPUs that have not been detected (#236)
* Run tests in GPU environment with no GPUs visible
* Update TensorTable tests with checks for HAS_GPU
* Remove unused `_HAS_GPU` variable from `test_utils`
* Wrap cupy/cudf imports in HAS_GPU check in `compat`
* Update tests to use HAS_GPU from compat module
* Reformat test_tensor_table.py
* Move HAS_GPU import to compat module
* Add pynvml dependency
* Update functions in `dispatch` to not use HAS_GPU
* Raise RuntimeError in Dataset if we can't run on GPU when cpu=False
* Update `convert_data` to handle unavailable cudf and dask_cudf
* Remove use of `HAS_GPU` from dispatch
* Keep cudf and cupy values representing presence of package
* Revert changes to `dataset.py`. Now part of #243
* Revert changes to `dispatch.py`. Now part of #244
* Use branch-name action for branch selection
* Remove unused ref_type variable
* Extend reason in `test_tensor_column.py`
Co-authored-by: Karl Higley <kmhigley@gmail.com>
* Extend reason in `tests/unit/table/test_tensor_column.py`
Co-authored-by: Karl Higley <kmhigley@gmail.com>
* Remove cudf import from compat. Now unrelated to this PR
* Remove use of branch-name action. `docker` not available in runner
* Add HAS_GPU checks with cupy to support env without visible devices
* Correct value of empty visible devices
* Update deps for GPU envs to match others
* Update get_lib to account for missing visible GPU
* Check HAS_GPU in `make_df` to handle visible GPU devices
* Update Dataset to handle default case when no visible GPUs are found
* Update fixtures to handle cudf with no visible devices
* Update tests to handle case of no visible GPUs
---------
Co-authored-by: Karl Higley <kmhigley@gmail.com>
Co-authored-by: Karl Higley <karlb@nvidia.com>
0 commit comments