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 5, 2024
1 parent 8c6e36d commit e63e212
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extra/k8s/inference-benchmarker/templates/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
name: {{ include "inference-benchmarker.fullname" . }}-hf-token
key: HF_TOKEN
- name: RUST_LOG
value: "text_generation_inference_benchmark=info"
value: "inference_benchmarker=info"
resources:
{{- toYaml .Values.benchmark.resources | nindent 12 }}
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub async fn run(run_config: RunConfiguration, stop_sender: Sender<()>) -> anyho
env_logger::Builder::new()
.target(env_logger::Target::Pipe(target))
.filter(
Some("text_generation_inference_benchmark"),
Some("inference_benchmarker"),
LevelFilter::Debug,
)
.format(|buf, record| {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use log::{debug, error};
use reqwest::Url;
use std::collections::HashMap;
use std::time::Duration;
use text_generation_inference_benchmark::{run, RunConfiguration, TokenizeOptions};
use inference_benchmarker::{run, RunConfiguration, TokenizeOptions};
use tokio::sync::broadcast;

#[derive(Parser, Debug)]
Expand Down

0 comments on commit e63e212

Please sign in to comment.