Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Jun 21, 2024
1 parent 466d756 commit d5948bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_speed/application/main_run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5948bb

Please sign in to comment.