diff --git a/neural_speed/application/main_run.cpp b/neural_speed/application/main_run.cpp index 37ccf64ec..0a441d18a 100644 --- a/neural_speed/application/main_run.cpp +++ b/neural_speed/application/main_run.cpp @@ -141,7 +141,7 @@ int main(int argc, char** argv) { // NOLINT model_context* ctx; g_ctx = &ctx; - if (dev_ctx == NULL) { + if (dev_ctx == nullptr) { params.n_gpu_layers = 0; } // load the model and apply lora adapter, if any