Skip to content

Commit

Permalink
chore: fix lib rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoch committed Nov 12, 2024
1 parent e63e212 commit 409df9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ pub async fn run(run_config: RunConfiguration, stop_sender: Sender<()>) -> anyho
let target = Box::new(File::create("log.txt").expect("Can't create file"));
env_logger::Builder::new()
.target(env_logger::Target::Pipe(target))
.filter(
Some("inference_benchmarker"),
LevelFilter::Debug,
)
.filter(Some("inference_benchmarker"), LevelFilter::Debug)
.format(|buf, record| {
writeln!(
buf,
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use clap::error::ErrorKind::InvalidValue;
use clap::{Error, Parser};
use inference_benchmarker::{run, RunConfiguration, TokenizeOptions};
use log::{debug, error};
use reqwest::Url;
use std::collections::HashMap;
use std::time::Duration;
use inference_benchmarker::{run, RunConfiguration, TokenizeOptions};
use tokio::sync::broadcast;

#[derive(Parser, Debug)]
Expand Down

0 comments on commit 409df9a

Please sign in to comment.