Closed pwalski closed 7 months ago
This commit with default implementation of test
meets both requirements
https://github.com/golemfactory/ya-runtime-ai/commit/f1d1c0f22a8d064abe4da02a7de49d61e16db567#diff-55067421a15dba313c0c52b86b2e6de0b12da3ad02ea97d87cb9e651051e8423R48
Dummy implementation does not use gpu detection crate https://github.com/golemfactory/ya-runtime-ai/commit/f1d1c0f22a8d064abe4da02a7de49d61e16db567#diff-0a9e01e7d834714233ff020419bb078224bac96251c0236173eaf82488461b6eR90
ya-runtime-ai test
should perform general GPU support test with usage ofgpu-support
crate (on nondummy
runtime).gpu-support
should give some context to returned error. For example existing implementation on unsupported GPU fails with message likefunction symbol failed to load: /lib/x86_64-linux-gnu/libnvidia-ml.so: undefined symbol: nvmlDeviceGetNumGpuCores
.