[transformers] [v5] remove unused hybridcache (#3910)
* remote unused hybridcache * cleanup
This commit is contained in:
parent
ecd10f2e55
commit
94b744ef5e
1 changed files with 1 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ PRE_COMPILE_INFERENCE = [
|
|||
"gpt_oss",
|
||||
]
|
||||
|
||||
from transformers import GenerationConfig, CompileConfig, HybridCache, AutoConfig
|
||||
from transformers import GenerationConfig, CompileConfig, AutoConfig
|
||||
|
||||
try:
|
||||
from transformers import PreTrainedConfig
|
||||
|
|
@ -117,8 +117,6 @@ except:
|
|||
|
||||
HAS_TORCH_DTYPE = "torch_dtype" in PretrainedConfig.__doc__
|
||||
|
||||
from transformers import GenerationConfig, CompileConfig, HybridCache
|
||||
|
||||
_compile_config = CompileConfig(
|
||||
fullgraph = False,
|
||||
dynamic = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue