Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ox696c
ktransformers
Commits
a72dc6ed
Commit
a72dc6ed
authored
Oct 30, 2024
by
anyanqilin
Committed by
liam
Nov 04, 2024
Browse files
wjh change
parent
2d67016d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ktransformers/local_chat.py
ktransformers/local_chat.py
+3
-3
No files found.
ktransformers/local_chat.py
View file @
a72dc6ed
...
@@ -9,11 +9,11 @@ import asyncio
...
@@ -9,11 +9,11 @@ import asyncio
import
os
import
os
import
platform
import
platform
import
sys
import
sys
from
ktransformers.server.args
import
ArgumentParser
project_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
))
project_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
))
sys
.
path
.
insert
(
0
,
project_dir
)
sys
.
path
.
insert
(
0
,
project_dir
)
from
ktransformers.server.args
import
ArgumentParser
from
ktransformers.models.modeling_deepseek
import
DeepseekV2ForCausalLM
from
ktransformers.models.modeling_deepseek
import
DeepseekV2ForCausalLM
from
ktransformers.models.modeling_qwen2_moe
import
Qwen2MoeForCausalLM
from
ktransformers.models.modeling_qwen2_moe
import
Qwen2MoeForCausalLM
from
ktransformers.models.modeling_llama
import
LlamaForCausalLM
from
ktransformers.models.modeling_llama
import
LlamaForCausalLM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment