mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 16:22:57 +08:00
Sync v2.0 version of code to github repo
This commit is contained in:
@@ -11,10 +11,9 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
""" setup for FASTDEPLOY base ops """
|
||||
|
||||
from paddle.utils.cpp_extension import setup, CppExtension
|
||||
from paddle.utils.cpp_extension import CppExtension, setup
|
||||
|
||||
setup(
|
||||
name="fastdeploy_base_ops",
|
||||
@@ -22,9 +21,12 @@ setup(
|
||||
sources=[
|
||||
"gpu_ops/save_with_output_msg.cc",
|
||||
"gpu_ops/get_output.cc",
|
||||
"gpu_ops/reset_need_stop_value.cc",
|
||||
"gpu_ops/get_output_msg_with_topk.cc",
|
||||
"gpu_ops/transfer_output.cc",
|
||||
"cpu_ops/rebuild_padding.cc",
|
||||
],
|
||||
extra_compile_args=[
|
||||
"-DPy_LIMITED_API=0x03090000", "-DPADDLE_ON_INFERENCE"
|
||||
],
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user