kyleliang commited on
Commit
d9addd5
·
verified ·
1 Parent(s): 603586d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. custom_generate/generate.py +1 -1
custom_generate/generate.py CHANGED
@@ -13,7 +13,7 @@
13
  # limitations under the License.
14
 
15
  import torch
16
- from transformers.cache_utils import DynamicCache
17
  from typing import Any, Dict, List, Optional, Tuple
18
 
19
 
 
13
  # limitations under the License.
14
 
15
  import torch
16
+ from transformers import DynamicCache, GenerationConfig
17
  from typing import Any, Dict, List, Optional, Tuple
18
 
19