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
b9f2af0d
Commit
b9f2af0d
authored
Dec 07, 2024
by
xuxzh1
🎱
Browse files
update
parent
d996d30e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
README.md
README.md
+0
-1
llama/make/Makefile.rocm
llama/make/Makefile.rocm
+2
-2
No files found.
README.md
View file @
b9f2af0d
...
@@ -29,7 +29,6 @@ cd ollama
...
@@ -29,7 +29,6 @@ cd ollama
##### 环境设置
##### 环境设置
```
bash
```
bash
export
AMDGPU_TARGETS
=
当前设备型号(如:gfx906,gfx928等)
export
HSA_OVERRIDE_GFX_VERSION
=
设备型号(如: gfx906对应9.0.6;gfx928对应9.2.8)
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
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,...)/选择设备号
export
HIP_VISIBLE_DEVICES
=
所有设备号(0,1,2,3,4,5,6,...)/选择设备号
...
...
llama/make/Makefile.rocm
View file @
b9f2af0d
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
include
make/common-defs.make
include
make/common-defs.make
HIP_ARCHS_COMMON
:=
gfx928
HIP_ARCHS_COMMON
:=
gfx928
gfx906
HIP_ARCHS_LINUX
:=
gfx928
HIP_ARCHS_LINUX
:=
gfx928
gfx906
ifeq
($(OS),windows)
ifeq
($(OS),windows)
GPU_LIB_DIR_WIN
:=
$(
shell
cygpath
-m
-s
"
$(HIP_PATH)
/bin"
)
GPU_LIB_DIR_WIN
:=
$(
shell
cygpath
-m
-s
"
$(HIP_PATH)
/bin"
)
...
...
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