Skip to content

Commit 60b80b0

Browse files
author
root
committed
removed trailing whitespace
1 parent a69d6e2 commit 60b80b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

common/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) {
655655
params.use_mmap = false;
656656
} else if (arg == "--numa") {
657657
if (++i >= argc) {
658-
invalid_param = true;
658+
invalid_param = true;
659659
break;
660660
} else {
661661
std::string value(argv[i]);

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct gpt_params {
7676
float yarn_beta_slow = 1.0f; // YaRN high correction dim
7777
int32_t yarn_orig_ctx = 0; // YaRN original context length
7878
int32_t rope_scaling_type = LLAMA_ROPE_SCALING_UNSPECIFIED;
79-
int32_t numa = LLAMA_NUMA_STRATEGY_DISABLED;
79+
int32_t numa = LLAMA_NUMA_STRATEGY_DISABLED;
8080

8181
// // sampling parameters
8282
struct llama_sampling_params sparams;

ggml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16630,7 +16630,7 @@ static void set_numa_thread_affinity(int thread_n, int n_threads) {
1663016630
break;
1663116631
case GGML_NUMA_STRATEGY_NUMACTL:
1663216632
// use the cpuset that numactl gave us
16633-
rv = pthread_setaffinity_np(pthread_self(), setsize, &g_state.numa.cpuset);
16633+
rv = pthread_setaffinity_np(pthread_self(), setsize, &g_state.numa.cpuset);
1663416634
if (rv) {
1663516635
fprintf(stderr, "warning: pthread_setaffinity_np() failed: %s\n",strerror(rv));
1663616636
}

0 commit comments

Comments
 (0)