Huggingface.js documentation
Interface: ParallelDownloadOptions
@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: ParallelDownloadOptions
Propriedades
controllerTickMs
• Optional controllerTickMs: number
Intervalo de tick do controlador de concorrência, para testes e benchmarks.
Definido em
packages/hub/src/utils/XetBlob.ts:145
maxConcurrency
• Optional maxConcurrency: number
Limite para o número de solicitações xorb concorrentes ajustadas automaticamente.
Default
8Definido em
packages/hub/src/utils/XetBlob.ts:131
maxInFlightBytes
• Optional maxInFlightBytes: number
Orçamento de bytes baixados, mas ainda não consumidos.
Default
derived from the file's reconstruction: 3x the largest xorb fetch, clamped to [64MB, 256MB]Definido em
packages/hub/src/utils/XetBlob.ts:137
onStat
• Optional onStat: (stat: Record<string, unknown>) => void
Callback de instrumentação para testes e benchmarks, chamado uma vez por download.
Declaração de tipo
▸ (stat): void
Parâmetros
| Nome | Tipo |
|---|---|
stat | Record<string, unknown> |
Retorna
void
Definido em
packages/hub/src/utils/XetBlob.ts:141
Update on GitHub