text-generation-inference/csrc/common/lib/device.cpp
2024-09-28 21:10:18 +00:00

21 lines
359 B
C++

//
// Created by morgan on 27/09/24.
//
#include <nvml.h>
#include "device.hpp"
std::optional<nvmlDevice_t> huggingface::tgi::GetDeviceByIndex(device_index_t device)
{
return std::nullopt;
}
bool huggingface::tgi::IsP2PComplete()
{
return false;
}
bool huggingface::tgi::IsP2PAvailable(device_index_t from, device_index_t to)
{
return false;
}