Skip to content

RuntimeError: NVRTC error when convert model #16

Open
@HHZ94

Description

@HHZ94

This error occurs when I convert any model, the error log is

cooperative_groups_helpers.h(87): error: identifier "cudaCGSynchronizeGrid" is undefined

1 error detected in the compilation of "generatedNativePointwise".

Traceback (most recent call last): File "/media/xxx/datadist/proj/skull_stripping_seg/convert_model2trt.py", line 47, in <module> model_trt = torch2trt_dynamic(model, [x], fp16_mode=False) File "/home/xxx/anaconda3/envs/py37/lib/python3.7/site-packages/torch2trt_dynamic/torch2trt_dynamic.py", line 565, in torch2trt_dynamic engine = builder.build_engine(network, config)

RuntimeError: NVRTC error:

The official torch2trt works with no error.

Is there any idea to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions