Huggingface.js documentation
인터페이스: ParallelDownloadOptions
@huggingface/inference
Inference Client 사용API 참조
클래스
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
인터페이스
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntry로거옵션TextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
모듈
@huggingface/hub
Hub와 상호작용하기API 참고
클래스
인터페이스
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySource자격 증명DatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
인터페이스: ParallelDownloadOptions
속성
controllerTickMs
• Optional controllerTickMs: number
테스트 및 벤치마크를 위한 동시성 컨트롤러 틱 간격
정의 위치
packages/hub/src/utils/XetBlob.ts:145
maxConcurrency
• Optional maxConcurrency: number
자동 튜닝된 동시 xorb 요청 수의 상한값.
Default
8정의 위치
packages/hub/src/utils/XetBlob.ts:131
maxInFlightBytes
• Optional maxInFlightBytes: number
다운로드되었지만 아직 소비되지 않은 바이트의 예산.
Default
derived from the file's reconstruction: 3x the largest xorb fetch, clamped to [64MB, 256MB]정의 위치
packages/hub/src/utils/XetBlob.ts:137
onStat
• Optional onStat: (stat: Record<string, unknown>) => void
테스트 및 벤치마크용 계측 콜백이며, 다운로드마다 한 번씩 호출됩니다.
타입 선언
▸ (stat): void
매개변수
| 이름 | 유형 |
|---|---|
stat | Record<string, unknown> |
반환
void
정의 위치
packages/hub/src/utils/XetBlob.ts:141
Update on GitHub