mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-01 06:52:11 +00:00
cleanup prints
This commit is contained in:
parent
19e1c8da31
commit
db97d979fb
@ -244,21 +244,6 @@ class VlmCausalLMBatch(FlashCausalLMBatch):
|
||||
)
|
||||
num_bytes = len(video_frame_buf)
|
||||
bytes_per_frame = num_bytes // chunk.video.frames
|
||||
#height = bytes_per_frame // 3 // chunk.video.width
|
||||
from loguru import logger
|
||||
|
||||
log_master(
|
||||
logger.info,
|
||||
f"Video buffer size: {len(video_frame_buf)}",
|
||||
)
|
||||
log_master(
|
||||
logger.info,
|
||||
f"Frames in chunk: {chunk.video.frames}",
|
||||
)
|
||||
log_master(
|
||||
logger.info,
|
||||
f"Bytes per frame: {bytes_per_frame}",
|
||||
)
|
||||
|
||||
# iterate over with a stride the size of a frame
|
||||
frames = []
|
||||
|
Loading…
Reference in New Issue
Block a user