mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: Remove unused imports and interfaces from gpu-setup.ts
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { docker } from "../constants";
|
||||
import { execAsync } from "../utils/process/execAsync";
|
||||
import { execAsyncRemote } from "../utils/process/execAsync";
|
||||
import { getRemoteDocker } from "./servers/remote-docker";
|
||||
|
||||
interface GPUInfo {
|
||||
driverInstalled: boolean;
|
||||
@@ -17,16 +15,6 @@ interface GPUInfo {
|
||||
gpuResources: number;
|
||||
}
|
||||
|
||||
interface DiscreteResourceSpec {
|
||||
Kind: string;
|
||||
Value: number;
|
||||
}
|
||||
|
||||
interface NamedGenericResource {
|
||||
NamedResourceSpec?: { Kind: string; Value: string };
|
||||
DiscreteResourceSpec?: DiscreteResourceSpec;
|
||||
}
|
||||
|
||||
export async function checkGPUStatus(serverId?: string): Promise<GPUInfo> {
|
||||
try {
|
||||
// Check NVIDIA Driver
|
||||
|
||||
Reference in New Issue
Block a user