Update custom_generate/generate.py
Browse files
custom_generate/generate.py
CHANGED
|
@@ -9,7 +9,7 @@ from transformers.modeling_utils import PreTrainedModel
|
|
| 9 |
|
| 10 |
from .functions_2_patch import _validate_model_kwargs, llama_atten_forward
|
| 11 |
from .monkey_patching_utils import monkey_patching
|
| 12 |
-
from
|
| 13 |
|
| 14 |
|
| 15 |
UNSUPPORTED_GENERATION_ARGS = [
|
|
|
|
| 9 |
|
| 10 |
from .functions_2_patch import _validate_model_kwargs, llama_atten_forward
|
| 11 |
from .monkey_patching_utils import monkey_patching
|
| 12 |
+
from .sep_cache_utils import SepCache
|
| 13 |
|
| 14 |
|
| 15 |
UNSUPPORTED_GENERATION_ARGS = [
|