Huggingface.js documentation
Интерфейс: SpaceResourceRequirement
@huggingface/inference
Использовать Inference ClientСправочник API
Классы
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Интерфейсы
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerПараметрыTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Модули
@huggingface/hub
Взаимодействие с HubСправочник API
Классы
Интерфейсы
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceУчётные данныеDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Интерфейс: SpaceResourceRequirement
Свойства
cpu
• Optional cpu: string
Определено в
packages/hub/src/types/public.ts:122
эфемерный
• Optional ephemeral: string
Определено в
packages/hub/src/types/public.ts:126
gpu
• Optional gpu: string
Определено в
packages/hub/src/types/public.ts:124
gpuModel
• Optional gpuModel: string
Определено в
packages/hub/src/types/public.ts:125
память
• Optional память: string
Определено в
packages/hub/src/types/public.ts:123
Update on GitHub