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
9c6a2549
"vscode:/vscode.git/clone" did not exist on "d4a126b6e9bbf7e86082eb8760e12e15c09831ac"
Unverified
Commit
9c6a2549
authored
Mar 28, 2024
by
Michael Yang
Committed by
GitHub
Mar 28, 2024
Browse files
Merge pull request #3391 from ollama/mxyng-patch-1
parents
756c2575
f31f2bed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gpu/amd_linux.go
gpu/amd_linux.go
+1
-1
No files found.
gpu/amd_linux.go
View file @
9c6a2549
...
@@ -113,7 +113,7 @@ func AMDGetGPUInfo(resp *GpuInfo) {
...
@@ -113,7 +113,7 @@ func AMDGetGPUInfo(resp *GpuInfo) {
if
!
slices
.
Contains
[[]
string
,
string
](
supported
,
v
.
ToGFXString
())
{
if
!
slices
.
Contains
[[]
string
,
string
](
supported
,
v
.
ToGFXString
())
{
slog
.
Warn
(
fmt
.
Sprintf
(
"amdgpu [%d] %s is not supported by %s %v"
,
i
,
v
.
ToGFXString
(),
libDir
,
supported
))
slog
.
Warn
(
fmt
.
Sprintf
(
"amdgpu [%d] %s is not supported by %s %v"
,
i
,
v
.
ToGFXString
(),
libDir
,
supported
))
// TODO - consider discrete markdown just for ROCM troubleshooting?
// TODO - consider discrete markdown just for ROCM troubleshooting?
slog
.
Warn
(
"See https://github.com/ollama/ollama/blob/main/docs/
troubleshooting.md
for HSA_OVERRIDE_GFX_VERSION usage"
)
slog
.
Warn
(
"See https://github.com/ollama/ollama/blob/main/docs/
gpu.md#overrides
for HSA_OVERRIDE_GFX_VERSION usage"
)
skip
[
i
]
=
struct
{}{}
skip
[
i
]
=
struct
{}{}
}
else
{
}
else
{
slog
.
Info
(
fmt
.
Sprintf
(
"amdgpu [%d] %s is supported"
,
i
,
v
.
ToGFXString
()))
slog
.
Info
(
fmt
.
Sprintf
(
"amdgpu [%d] %s is supported"
,
i
,
v
.
ToGFXString
()))
...
...
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