Git Product home page Git Product logo

Comments (4)

brilliant-yan avatar brilliant-yan commented on June 2, 2024

如果关掉这个选项 -DPPLNN_ENABLE_CUDA_JIT=OFF,就不会有上面的错误。但是不打开这个选项,性能是不是也会有所下降,我测试了benchmark,各个模型的性能都不如tensorrt好

from ppl.nn.

qiumeng6 avatar qiumeng6 commented on June 2, 2024

我也遇到类似的问题,还不知道如何解决。

from ppl.nn.

jianfei-wangg avatar jianfei-wangg commented on June 2, 2024

我也遇到类似的问题,还不知道如何解决。
Hello, I have no RTX3090 to be tested. And I tested mnasnet0_5.onnx on T4 and A100 with cuda=11.2 and JIT=ON, but these all works fine. I suggest you to substitute conv_jit.cc:Line599~600 with:
int cta_num_limit_by_regs = (regs_per_cta == 0) ? cta_num_limit_by_thds : max_regs_per_sm / regs_per_cta; int cta_num_limit_by_smem = (smem_per_cta == 0) ? cta_num_limit_by_thds : max_smem_per_sm / smem_per_cta;
and then test again. Please report the result on RTX3090, thx.

from ppl.nn.

brilliant-yan avatar brilliant-yan commented on June 2, 2024

我也遇到类似的问题,还不知道如何解决。
Hello, I have no RTX3090 to be tested. And I tested mnasnet0_5.onnx on T4 and A100 with cuda=11.2 and JIT=ON, but these all works fine. I suggest you to substitute conv_jit.cc:Line599~600 with:
int cta_num_limit_by_regs = (regs_per_cta == 0) ? cta_num_limit_by_thds : max_regs_per_sm / regs_per_cta; int cta_num_limit_by_smem = (smem_per_cta == 0) ? cta_num_limit_by_thds : max_smem_per_sm / smem_per_cta;
and then test again. Please report the result on RTX3090, thx.

Hi,
I tried your suggestion and modified the code, but the problem still persists on 3090. In addition, there is no problem in my multiple tests on the T4 and Jetson series.

from ppl.nn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.