Skip to content

Commit 667663a

Browse files
committed
cleanup: remove dup device load calls
1 parent 96f259b commit 667663a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/llama-bench/llama-bench.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,6 @@ static cmd_params parse_cmd_params(int argc, char ** argv) {
733733
invalid_param = true;
734734
break;
735735
}
736-
ggml_backend_load_all();
737736
try {
738737
auto devices = register_rpc_device_list(argv[i]);
739738
params.rpc_servers.push_back(argv[i]);
@@ -2052,7 +2051,6 @@ int main(int argc, char ** argv) {
20522051
cmd_params params = parse_cmd_params(argc, argv);
20532052

20542053
if (params.list_devices) {
2055-
ggml_backend_load_all();
20562054
for (const auto & rpc : params.rpc_servers) {
20572055
if (!rpc.empty()) {
20582056
try {

0 commit comments

Comments
 (0)