@huggingface/hub
Version:
Utilities to interact with the Hugging Face hub
14 lines • 606 B
TypeScript
import type { CredentialsParams } from "../../types/public";
import type { ApiJobHardware } from "../../types/api/api-jobs";
/**
* Get the list of available hardware for jobs.
* This endpoint is public and does not require authentication, but authentication is optional.
*/
export declare function listJobHardware(params?: {
hubUrl?: string;
/**
* Custom fetch function to use instead of the default one, for example to use a proxy or edit headers.
*/
fetch?: typeof fetch;
} & Partial<CredentialsParams>): Promise<ApiJobHardware[]>;
//# sourceMappingURL=list-job-hardware.d.ts.map