@@ -714,7 +714,6 @@ struct test {
714
714
static const bool kompute;
715
715
static const bool metal;
716
716
static const bool sycl;
717
- static const bool rpc;
718
717
static const bool gpu_blas;
719
718
static const bool blas;
720
719
static const std::string cpu_info;
@@ -726,6 +725,7 @@ struct test {
726
725
int n_batch;
727
726
int n_ubatch;
728
727
int n_threads;
728
+ bool has_rpc;
729
729
ggml_type type_k;
730
730
ggml_type type_v;
731
731
int n_gpu_layers;
@@ -751,6 +751,7 @@ struct test {
751
751
n_batch = inst.n_batch ;
752
752
n_ubatch = inst.n_ubatch ;
753
753
n_threads = inst.n_threads ;
754
+ has_rpc = !inst.rpc_servers .empty ();
754
755
type_k = inst.type_k ;
755
756
type_v = inst.type_v ;
756
757
n_gpu_layers = inst.n_gpu_layers ;
@@ -810,9 +811,6 @@ struct test {
810
811
if (sycl) {
811
812
return GGML_SYCL_NAME;
812
813
}
813
- if (rpc) {
814
- return " RPC" ;
815
- }
816
814
if (gpu_blas) {
817
815
return " GPU BLAS" ;
818
816
}
@@ -882,7 +880,7 @@ struct test {
882
880
std::vector<std::string> values = {
883
881
build_commit, std::to_string (build_number),
884
882
std::to_string (cuda), std::to_string (vulkan), std::to_string (vulkan),
885
- std::to_string (metal), std::to_string (sycl), std::to_string (rpc ), std::to_string (gpu_blas), std::to_string (blas),
883
+ std::to_string (metal), std::to_string (sycl), std::to_string (has_rpc ), std::to_string (gpu_blas), std::to_string (blas),
886
884
cpu_info, gpu_info,
887
885
model_filename, model_type, std::to_string (model_size), std::to_string (model_n_params),
888
886
std::to_string (n_batch), std::to_string (n_ubatch),
@@ -916,7 +914,6 @@ const bool test::metal = !!ggml_cpu_has_metal();
916
914
const bool test::gpu_blas = !!ggml_cpu_has_gpublas();
917
915
const bool test::blas = !!ggml_cpu_has_blas();
918
916
const bool test::sycl = !!ggml_cpu_has_sycl();
919
- const bool test::rpc = !!ggml_cpu_has_rpc();
920
917
const std::string test::cpu_info = get_cpu_info();
921
918
const std::string test::gpu_info = get_gpu_info();
922
919
@@ -1182,6 +1179,9 @@ struct markdown_printer : public printer {
1182
1179
value = buf;
1183
1180
} else if (field == " backend" ) {
1184
1181
value = test::get_backend ();
1182
+ if (t.has_rpc ) {
1183
+ value += " +RPC" ;
1184
+ }
1185
1185
} else if (field == " test" ) {
1186
1186
if (t.n_prompt > 0 && t.n_gen == 0 ) {
1187
1187
snprintf (buf, sizeof (buf), " pp%d" , t.n_prompt );
0 commit comments