Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/huggingface/transformers
/ continuous_batching.py
File
continuous_batching.py
examples/pytorch/continuous_batching.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Copyright 2025 The HuggingFace Inc. team
2
#
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
# you may not use this file except in compliance with the License.
Callers
nothing calls this directly
Calls
10
GenerationConfig
Class · 0.90
ContinuousBatchingConfig
Class · 0.90
generate_without_cb
Function · 0.85
batch_generate
Function · 0.85
eval
Method · 0.80
setLevel
Method · 0.80
warning
Method · 0.80
from_pretrained
Method · 0.45
cuda
Method · 0.45
apply_chat_template
Method · 0.45
Tested by
no test coverage detected