Skip to content

Commit

Permalink
Support dtype, device, etc. in pipeline options
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed May 31, 2024
1 parent 9c48305 commit 4a7ca0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -3215,6 +3215,10 @@ export async function pipeline(
cache_dir,
local_files_only,
revision,
device,
dtype,
model_file_name,
session_options,
}

const classes = new Map([
Expand Down

0 comments on commit 4a7ca0f

Please sign in to comment.