@@ -66,7 +66,7 @@ GPUS::GPUS(overlay_params* params) : params(params) {
66
66
std::shared_ptr<GPU> ptr = std::make_shared<GPU>(node_name, vendor_id, device_id, pci_dev);
67
67
available_gpus.emplace_back (ptr);
68
68
69
- SPDLOG_DEBUG (" GPU Found: node_name: {}, vendor_id: {:x} device_id: {:x} pci_dev: {}" , node_name, vendor_id, device_id, pci_dev);
69
+ SPDLOG_INFO (" GPU Found: node_name: {}, vendor_id: {:x} device_id: {:x} pci_dev: {}" , node_name, vendor_id, device_id, pci_dev);
70
70
}
71
71
72
72
find_active_gpu ();
@@ -153,7 +153,7 @@ void GPUS::find_active_gpu() {
153
153
for (const auto & gpu : available_gpus) {
154
154
if (gpu->pci_dev == drm_pdev) {
155
155
gpu->is_active = true ;
156
- SPDLOG_DEBUG (" Active GPU Found: node_name: {}, pci_dev: {}" , gpu->name , gpu->pci_dev );
156
+ SPDLOG_INFO (" Active GPU Found: node_name: {}, pci_dev: {}" , gpu->name , gpu->pci_dev );
157
157
} else {
158
158
gpu->is_active = false ;
159
159
}
@@ -173,7 +173,7 @@ void GPUS::find_active_gpu() {
173
173
for (auto & pid : gpu->nvidia_pids ()) {
174
174
if (pid == getpid ()) {
175
175
gpu->is_active = true ;
176
- SPDLOG_DEBUG (" Active GPU Found: node_name: {}, pci_dev: {}" , gpu->name , gpu->pci_dev );
176
+ SPDLOG_INFO (" Active GPU Found: node_name: {}, pci_dev: {}" , gpu->name , gpu->pci_dev );
177
177
return ;
178
178
}
179
179
}
@@ -182,7 +182,7 @@ void GPUS::find_active_gpu() {
182
182
}
183
183
}
184
184
#endif
185
- SPDLOG_DEBUG (" failed to find active GPU" );
185
+ SPDLOG_WARN (" failed to find active GPU" );
186
186
}
187
187
188
188
int GPU::index_in_selected_gpus () {
0 commit comments