Skip to content

Commit

Permalink
fix(ollama): classify 'rocm' as its own cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Sep 15, 2024
1 parent c4a6d74 commit 0aa2b04
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ollama/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ module.exports = async function (request) {

rel.arch = 'aarch64';
}

let isROCm = rel.name.includes('-rocm');
if (isROCm) {
Object.assign(rel, { arch: 'x86_64_rocm' });
}

releases.push(rel);
}
all.releases = releases;
Expand Down

0 comments on commit 0aa2b04

Please sign in to comment.