mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-20 06:12:07 +00:00
21 lines
342 B
C++
21 lines
342 B
C++
|
//
|
||
|
// Created by morgan on 27/09/24.
|
||
|
//
|
||
|
|
||
|
#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;
|
||
|
}
|