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
OpenDAS
ollama
Commits
44f79c7e
Commit
44f79c7e
authored
Nov 12, 2024
by
xuxzh1
🎱
Browse files
update
parent
82a0301b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
README.md
README.md
+3
-5
No files found.
README.md
View file @
44f79c7e
...
...
@@ -12,7 +12,7 @@
如遇到卡数检测错误,请参考 https://developer.hpccube.com/codes/OpenDAS/ollama/-/issues/1 ,也可以提前进行修复。
### 2、使用源码编译方式安装
### 2、使用源码编译方式安装
(推荐)
#### 环境准备
...
...
@@ -38,15 +38,13 @@
##### 环境设置
export AMDGPU_TARGETS=当前设备型号(如:gfx906,gfx928等)
export HSA_OVERRIDE_GFX_VERSION=设备型号(如: gfx906对应9.0.6;gfx928对应9.2.8)
export LIBRARY_PATH=/opt/dtk/llvm/lib/clang/15.0.0/lib/linux/:$LIBRARY_PATH
export HIP_VISIBLE_DEVICES=所有设备号(0,1,2,3,4,5,6,...)/选择设备号
安装go
https://golang.google.cn/dl/
# 请替换[]中下载的go文件
cd ../..
tar -C /usr/local -xzf
[
go
-xxxx.tar.gz](ollama目录下)
tar -C /usr/local -xzf go
1.22.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
# 修改go下载源,提升速度(按需设置)
...
...
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