Huggingface.js documentation
Interface: SpaceResourceConfig
@huggingface/inference
Usar o Inference ClientReferência da API
Classes
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Interfaces
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerOpçõesTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Módulos
@huggingface/hub
Interagir com o HubReferência da API
Classes
Interfaces
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceCredenciaisDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Interface: SpaceResourceConfig
Propriedades
é _ personalizado
• Optional is_custom: boolean
Definido em
packages/hub/src/types/public.ts:134
limites
• limites: SpaceResourceRequirement
Definido em
packages/hub/src/types/public.ts:131
réplicas
• Optional replicas: number
Definido em
packages/hub/src/types/public.ts:132
requests
• requisitos: SpaceResourceRequirement
Definido em
packages/hub/src/types/public.ts:130
limitado
• Optional throttled: boolean
Definido em
packages/hub/src/types/public.ts:133
Update on GitHub