feat(common) adding device utilities
This commit is contained in:
parent
5f9120da9c
commit
fb81ffce02
|
@ -1,7 +1,7 @@
|
||||||
//
|
//
|
||||||
// Created by morgan on 27/09/24.
|
// Created by morgan on 27/09/24.
|
||||||
//
|
//
|
||||||
|
#include <nvml.h>
|
||||||
#include "device.hpp"
|
#include "device.hpp"
|
||||||
|
|
||||||
std::optional<nvmlDevice_t> huggingface::tgi::GetDeviceByIndex(device_index_t device)
|
std::optional<nvmlDevice_t> huggingface::tgi::GetDeviceByIndex(device_index_t device)
|
||||||
|
|
Loading…
Reference in New Issue