Skip to content

[FEA] Import cudf on non-CUDA enabled machine #3661

@mrocklin

Description

@mrocklin

I would like to be able to import cudf and refer to cudf methods and classes on a machine that does not have a GPU.

This is particularly useful when using cudf with Dask. While my local machine may not have an attached GPU, my Dask workers may. When using Dask with cudf I need to be able to refer to cudf functions so that I can place them into a task graph, but don't actually need to run them locally.

This fails today with an import error saying that we can't import libcuda.so.1. Is it feasible to make importing cudf robust to these errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    PythonAffects Python cuDF API.feature requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions