Skip to content

[VL] Not load GPU libraries on CPU node #11844

@jinchengchenghh

Description

@jinchengchenghh

Description

Now it will throw exception that cannot find cuda libraries.
Because libvelox.so link cudf::cudf, so all the environment will try to load gpu libraries.
May load velox always, and load separate library, e.g. libvelox_cudf.so library conditionally depending on the jni call if it is gpu node on java side.
The detection should not rely on GPU library, like detecting if the command nvidia-smi exists.

Gluten version

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions