mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
21 lines
359 B
C++
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;
|
|
}
|