Huggingface.js documentation
Interface : ParallelDownloadOptions
@huggingface/inference
Utiliser le client d'inférenceRéférence de l'API
Classes
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Interfaces
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerOptionsTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Modules
@huggingface/hub
Interagir avec le HubRéférence de l'API
Classes
Interfaces
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceIdentifiantsDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Interface : ParallelDownloadOptions
Propriétés
controllerTickMs
• Optional controllerTickMs : number
Intervalle de tick du contrôleur de concurrence, pour les tests et les benchmarks.
Défini dans
packages/hub/src/utils/XetBlob.ts:145
maxConcurrency
• Optional maxConcurrency : number
Plafond pour le nombre de requêtes xorb concurrentes ajusté automatiquement.
Default
8Défini dans
packages/hub/src/utils/XetBlob.ts:131
maxInFlightBytes
• Optional maxInFlightBytes : number
Budget d'octets téléchargés mais pas encore consommés.
Default
derived from the file's reconstruction: 3x the largest xorb fetch, clamped to [64MB, 256MB]Défini dans
packages/hub/src/utils/XetBlob.ts:137
onStat
• Optional onStat : (stat : Record<string, unknown>) => void
Callback d'instrumentation pour les tests et les benchmarks, appelé une fois par téléchargement.
Déclaration de type
▸ (stat): void
Paramètres
| Nom | Type |
|---|---|
stat | Record<string, unknown> |
Retourne
void
Défini dans
packages/hub/src/utils/XetBlob.ts:141
Update on GitHub