Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from lmdeploy.serve.gradio.turbomind_coupled import *
|
2 |
-
from lmdeploy.messages import TurbomindEngineConfig
|
|
|
3 |
|
4 |
chat_template = ChatTemplateConfig(model_name='internlm2-chat-7b', system='', eosys='', meta_instruction='')
|
5 |
backend_config = TurbomindEngineConfig(max_batch_size=1, cache_max_entry_count=0.05)#, model_format='awq')
|
|
|
1 |
from lmdeploy.serve.gradio.turbomind_coupled import *
|
2 |
+
from lmdeploy.messages import TurbomindEngineConfig
|
3 |
+
from lmdeploy import ChatTemplateConfig
|
4 |
|
5 |
chat_template = ChatTemplateConfig(model_name='internlm2-chat-7b', system='', eosys='', meta_instruction='')
|
6 |
backend_config = TurbomindEngineConfig(max_batch_size=1, cache_max_entry_count=0.05)#, model_format='awq')
|