Skip to content

Commit

Permalink
Ignore metal in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 5, 2025
1 parent 7da7b9b commit f946a3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/strucclustutils/ProstT5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,11 @@ std::vector<std::string> ProstT5::getDevices() {
for (size_t i = 0; i < ggml_backend_dev_count(); ++i) {
ggml_backend_dev_t dev = ggml_backend_dev_get(i);
std::string name = ggml_backend_dev_name(dev);
std::string description = ggml_backend_dev_name(dev);
// ignore Metal in CI
if (name == "Metal" && description.find("Paravirtual") != std::string::npos) {
continue;
}
devices.push_back(name);
}
return devices;
Expand Down

0 comments on commit f946a3b

Please sign in to comment.