Skip to content
1 min read · 20 words

Type Alias: TransformersJsGenerationDeviceType ​

ts
type TransformersJsGenerationDeviceType = string;

Defined in: src/batteries/generation/transformers_js/types.ts:70

Inference device forwarded to from_pretrained() — a local alias of the peer's DeviceType.