diff --git a/csrc/mmdeploy/net/ppl/ppl_net.cpp b/csrc/mmdeploy/net/ppl/ppl_net.cpp index ef724a7a41..3f404983d8 100644 --- a/csrc/mmdeploy/net/ppl/ppl_net.cpp +++ b/csrc/mmdeploy/net/ppl/ppl_net.cpp @@ -16,7 +16,7 @@ #include "ppl/nn/engines/cuda/engine_factory.h" #include "ppl/nn/engines/cuda/engine_options.h" #include "ppl/nn/engines/cuda/ops.h" -#define PPL_CUDA_IMPORT_FROM_BUFFER 0 +#define PPL_CUDA_IMPORT_FROM_BUFFER 1 #endif namespace mmdeploy {