Skip to content

Commit

Permalink
fix(ollama): classify 'rocm' as its own cpu + update classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Sep 15, 2024
1 parent efe3df6 commit d5489d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _webi/build-classifier
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 d5489d1

Please sign in to comment.