mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
Disable scatternd in TRT8+ (#277)
This commit is contained in:
parent
25a5838080
commit
bd2867178d
@ -1,11 +1,13 @@
|
||||
// Copyright (c) OpenMMLab. All rights reserved.
|
||||
#include "trt_scatternd.hpp"
|
||||
|
||||
#include "NvInferVersion.h"
|
||||
// ScatterND is supported since TensorRT8
|
||||
#if NV_TENSORRT_MAJOR <= 7
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include "trt_scatternd.hpp"
|
||||
#include "trt_scatternd_kernel.hpp"
|
||||
#include "trt_serialize.hpp"
|
||||
|
||||
@ -151,3 +153,4 @@ nvinfer1::IPluginV2 *TRTScatterNDCreator::deserializePlugin(const char *name,
|
||||
|
||||
REGISTER_TENSORRT_PLUGIN(TRTScatterNDCreator);
|
||||
} // namespace mmdeploy
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user