Huggingface.js documentation
Arayüz: ParallelDownloadOptions
@huggingface/inference
Inference Client KullanAPI referansı
Sınıflar
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Arayüzler
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerSeçeneklerTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Modüller
@huggingface/hub
Hub ile etkileşime girinAPI Referansı
Sınıflar
Arayüzler
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceKimlik BilgileriDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Arayüz: ParallelDownloadOptions
Özellikler
controllerTickMs
• Optional controllerTickMs: number
Testler ve kıyaslamalar için eşzamanlılık denetleyicisi tik aralığı.
Tanımlandığı yer
packages/hub/src/utils/XetBlob.ts:145
maxConcurrency
• Optional maxConcurrency: number
Otomatik ayarlanan eşzamanlı xorb istekleri sayısının üst sınırı.
Default
8Tanımlandığı yer
packages/hub/src/utils/XetBlob.ts:131
maxInFlightBytes
• Optional maxInFlightBytes: number
İndirilmiş ancak henüz tüketilmemiş baytların bütçesi.
Default
derived from the file's reconstruction: 3x the largest xorb fetch, clamped to [64MB, 256MB]Tanımlandığı yer
packages/hub/src/utils/XetBlob.ts:137
onStat
• Optional onStat: (stat: Record<string, unknown>) => void
Testler ve kıyaslamalar için enstrümantasyon geri çağırması, her indirme için bir kez çağrılır.
Tip bildirimi
▸ (stat): void
Parametreler
| Ad | Tür |
|---|---|
stat | Record<string, unknown> |
Dönüş
void
Tanımlandığı yer
packages/hub/src/utils/XetBlob.ts:141
Update on GitHub