Skip to content

Commit

Permalink
fix: gpu: filter out llvmpipe
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed Feb 10, 2025
1 parent e48a0b4 commit 36a26cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/common/hardware_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ inline Json::Value ToJson(const std::vector<GPU>& gpus) {
gpu["total_vram"] = gpus[i].total_vram;
gpu["uuid"] = gpus[i].uuid;
gpu["activated"] = gpus[i].is_activated;
res.append(gpu);
if (gpus[i].total_vram > 0) {
res.append(gpu);
}
}
return res;
}
Expand Down

0 comments on commit 36a26cf

Please sign in to comment.