-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add gpu support for Rust binding #1925
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
Conversation
I'm sorry that this PR slipped through the cracks. Thank you for this PR, it is actually fine and we want to merge it. We've recently switched from ya.make - based build to CMake-based one and error with JNI is no longer relevant. And to test Rust package it is sufficient to run usual cargo commands in rust-package subdirectory. But supporting CUDA in Rust build will now require a change in call to catboost/catboost/rust-package/catboost-sys/build.rs Lines 14 to 22 in a4520b3
|
Our sync robot marks PR as 'closed' but in fact is has been merged. |
Add
enable_gpu_evaluation
in Rust binding.I attempted to run tests.
However I failed to run
ya make
in catboost folder to make sure the code builds in step 2.Before submitting a pull request, please do the following steps:
ya make
in catboost folder to make sure the code builds.ya make -t -A
command.I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en