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
orangecat
ollama
Commits
67b31a9b
Commit
67b31a9b
authored
Feb 08, 2025
by
xuxzh1
🎱
Browse files
update README
parent
c32de00b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
67b31a9b
...
@@ -49,7 +49,7 @@ go build .
...
@@ -49,7 +49,7 @@ go build .
## 运行
## 运行
```
bash
```
bash
export
HSA_OVERRIDE_GFX_VERSION
=
设备型号(如: gfx906对应9.0.6;
k
100
ai
gfx928对应9.2.8)
export
HSA_OVERRIDE_GFX_VERSION
=
设备型号(如:
Z100L
gfx906对应9.0.6;
K100 gfx926对应9.2.6;K
100
AI
gfx928对应9.2.8)
export
ROCR_VISIBLE_DEVICES
=
所有设备号(0,1,2,3,4,5,6,...)/选择设备号
export
ROCR_VISIBLE_DEVICES
=
所有设备号(0,1,2,3,4,5,6,...)/选择设备号
./ollama serve (选择可用设备,可通过上条命令输出结果查看)
./ollama serve (选择可用设备,可通过上条命令输出结果查看)
# 新增fa和kv cache量化
# 新增fa和kv cache量化
...
@@ -60,7 +60,7 @@ OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q4_0 ./ollama serve
...
@@ -60,7 +60,7 @@ OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q4_0 ./ollama serve
## deepseek-r1模型推理
## deepseek-r1模型推理
```
```
export HSA_OVERRIDE_GFX_VERSION=设备型号(如: gfx906对应9.0.6;
k
100
ai
gfx928对应9.2.8)
export HSA_OVERRIDE_GFX_VERSION=设备型号(如:
Z100L
gfx906对应9.0.6;
K100 gfx926对应9.2.6;K
100
AI
gfx928对应9.2.8)
./ollama serve
./ollama serve
./ollama run deepseek-r1:671b
./ollama run deepseek-r1:671b
```
```
...
...
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