Propagate speculate

This commit is contained in:
Nicolas Patry 2023-12-04 13:50:59 +00:00
parent 7ed07bcc05
commit bdd9596b6c

View File

@ -383,6 +383,7 @@ fn shard_manager(
model_id: String,
revision: Option<String>,
quantize: Option<Quantization>,
speculate: Option<usize>,
dtype: Option<Dtype>,
trust_remote_code: bool,
uds_path: String,
@ -895,6 +896,7 @@ fn spawn_shards(
let shutdown_sender = shutdown_sender.clone();
let otlp_endpoint = args.otlp_endpoint.clone();
let quantize = args.quantize;
let speculate = args.speculate;
let dtype = args.dtype;
let trust_remote_code = args.trust_remote_code;
let master_port = args.master_port;
@ -909,6 +911,7 @@ fn spawn_shards(
model_id,
revision,
quantize,
speculate,
dtype,
trust_remote_code,
uds_path,