Coder Social home page Coder Social logo

Some question about speed up about csd HOT 3 CLOSED

booooooooooo avatar booooooooooo commented on September 26, 2024
Some question about speed up

from csd.

Comments (3)

buptlj avatar buptlj commented on September 26, 2024

很好理解啊,速度和参数量不是完全成比例的,随便用个网络测试一下就知道了。

from csd.

wangqiim avatar wangqiim commented on September 26, 2024

很好理解啊,速度和参数量不是完全成比例的,随便用个网络测试一下就知道了。

我上面的意思不是说参数量和速度的关系哈,实际上channel split以后的flops降低的比例和参数量一样(原问题应该加一句flops减低为1/4)。因此,我把论文里的channel split操作提出来,单独测试时虽然加速比达不到4但是也是能有2~3的,觉得1.39太低了,也许是我channel split的时候漏了论文里的什么细节

from csd.

buptlj avatar buptlj commented on September 26, 2024

很好理解啊,速度和参数量不是完全成比例的,随便用个网络测试一下就知道了。

我上面的意思不是说参数量和速度的关系哈,实际上channel split以后的flops降低的比例和参数量一样。因此,我把论文里的channel split操作提出来,单独测试时虽然加速比达不到4但是也是能有2~3的,我觉得1.39太低了,也许是我channel split的时候漏了论文里的什么细节

那具体就不清楚了,不过也可能和硬件有关,不同硬件对不同算子的优化也不一样。

from csd.

Related Issues (17)

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.