mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-21 16:40:20 +00:00
remove logging
This commit is contained in:
parent
e82dc30e8a
commit
9ea7f9e950
@ -179,7 +179,6 @@ impl TensorRtLlmBackend {
|
|||||||
// Submit the request to the batcher
|
// Submit the request to the batcher
|
||||||
let request_id = span!(Level::DEBUG, "submit")
|
let request_id = span!(Level::DEBUG, "submit")
|
||||||
.in_scope(|| async {
|
.in_scope(|| async {
|
||||||
debug!("Acquiring lock for submit");
|
|
||||||
let mut handle = executor.write().await;
|
let mut handle = executor.write().await;
|
||||||
let request_id = handle.pin_mut().submit(
|
let request_id = handle.pin_mut().submit(
|
||||||
&tokens,
|
&tokens,
|
||||||
@ -191,7 +190,6 @@ impl TensorRtLlmBackend {
|
|||||||
seed,
|
seed,
|
||||||
);
|
);
|
||||||
|
|
||||||
debug!("Releasing lock for submit");
|
|
||||||
request_id
|
request_id
|
||||||
})
|
})
|
||||||
.await;
|
.await;
|
||||||
@ -200,7 +198,6 @@ impl TensorRtLlmBackend {
|
|||||||
let mut executor_w = executor.write().await;
|
let mut executor_w = executor.write().await;
|
||||||
let executor = executor_w.pin_mut();
|
let executor = executor_w.pin_mut();
|
||||||
|
|
||||||
debug!("Acquired write lock stream");
|
|
||||||
span!(Level::DEBUG, "decode")
|
span!(Level::DEBUG, "decode")
|
||||||
.in_scope(|| async {
|
.in_scope(|| async {
|
||||||
unsafe {
|
unsafe {
|
||||||
@ -275,7 +272,6 @@ impl TensorRtLlmBackend {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
debug!("Releasing write lock stream");
|
|
||||||
})
|
})
|
||||||
.await;
|
.await;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user