Huggingface.js documentation
Interfaz: ParallelDownloadOptions
@huggingface/inference
Usar Inference ClientReferencia de la API
Clases
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Interfaces
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerOpcionesTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Módulos
@huggingface/hub
Interactuar con el HubReferencia de la API
Clases
Interfaces
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceCredencialesDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Interfaz: ParallelDownloadOptions
Propiedades
controllerTickMs
• Optional controllerTickMs: number
Intervalo de tick del controlador de concurrencia, para pruebas y benchmarks.
Definido en
packages/hub/src/utils/XetBlob.ts:145
maxConcurrency
• Optional maxConcurrency: number
Límite para el número de solicitudes xorb concurrentes ajustadas automáticamente.
Default
8Definido en
packages/hub/src/utils/XetBlob.ts:131
maxInFlightBytes
• Optional maxInFlightBytes: number
Presupuesto de bytes descargados pero aún no consumidos.
Default
derived from the file's reconstruction: 3x the largest xorb fetch, clamped to [64MB, 256MB]Definido en
packages/hub/src/utils/XetBlob.ts:137
onStat
• Optional onStat: (stat: Record<string, unknown>) => void
Callback de instrumentación para pruebas y benchmarks, llamado una vez por descarga.
Declaración de tipo
▸ (stat): void
Parámetros
| Nombre | Tipo |
|---|---|
stat | Record<string, unknown> |
Devuelve
void
Definido en
packages/hub/src/utils/XetBlob.ts:141
Update on GitHub