filecoin-project / filecoin-ffi

C and CGO bindings for Filecoin's Rust libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: lotus1.25.x lotus-worker cannot get gpu info

hail100 opened this issue · comments

When I build lotus-worker 1.25.x with export FFI_USE_CUDA_SUPRASEAL=1,
feature = "cuda-supraseal" and get_gpu_devices_internal cannot get gpu info.
https://github.com/filecoin-project/filecoin-ffi/blob/441fa8e61189dc32/rust/src/util/api.rs#L38
@vmx

@hail100 yes, that's expected. SupraSeal is using a different code path and has it's own logic for accessing GPUs. So if we would present GPU information, we wouldn't be sure whether SupraSeal is having the same information.