Cargo fmt.

This commit is contained in:
Nicolas Patry 2023-07-31 12:42:18 +00:00
parent edbba4ea36
commit aa44a3d1f0

View File

@ -290,7 +290,6 @@ struct Args {
#[clap(long, env)] #[clap(long, env)]
rope_factor: Option<f32>, rope_factor: Option<f32>,
/// Outputs the logs in JSON format (useful for telemetry) /// Outputs the logs in JSON format (useful for telemetry)
#[clap(long, env)] #[clap(long, env)]
json_output: bool, json_output: bool,
@ -453,7 +452,6 @@ fn shard_manager(
envs.push(("ROPE_FACTOR".into(), factor.to_string().into())); envs.push(("ROPE_FACTOR".into(), factor.to_string().into()));
} }
// If huggingface_hub_cache is some, pass it to the shard // If huggingface_hub_cache is some, pass it to the shard
// Useful when running inside a docker container // Useful when running inside a docker container
if let Some(huggingface_hub_cache) = huggingface_hub_cache { if let Some(huggingface_hub_cache) = huggingface_hub_cache {