Coder Social home page Coder Social logo

A10 性能下降 about onediff HOT 5 OPEN

maidabu avatar maidabu commented on June 8, 2024
A10 性能下降

from onediff.

Comments (5)

strint avatar strint commented on June 8, 2024

onediff从0.12.1开始相比于0.12.0有10%以上的性能下降,是怎么回事。

请问是什么模型,什么设备。能否说明下复现方式。

from onediff.

maidabu avatar maidabu commented on June 8, 2024

onediff从0.12.1开始相比于0.12.0有10%以上的性能下降,是怎么回事。

请问是什么模型,什么设备。能否说明下复现方式。

A10上,SD1.5。就跑https://github.com/siliconflow/onediff/blob/main/onediff_diffusers_extensions/examples/text_to_image.py

from onediff.

strint avatar strint commented on June 8, 2024

onediff从0.12.1开始相比于0.12.0有10%以上的性能下降,是怎么回事。

请问是什么模型,什么设备。能否说明下复现方式。

A10上,SD1.5。就跑https://github.com/siliconflow/onediff/blob/main/onediff_diffusers_extensions/examples/text_to_image.py

好的,我们已经在复现和定位问题

from onediff.

lijunliangTG avatar lijunliangTG commented on June 8, 2024

你提到的情况确实存在,为了支持动态分辨率,所以在 A10 上性能多了10%的开销,我们会继续深入了解下这个性能的开销能否缩减。对应改动的 PR:

https://github.com/siliconflow/onediff/pull/552/files

你之前用的应该是这个 PR 之前的版本,不支持动态分辨率切换。如果你觉得不需要动态分辨率切换,我们应该可以提供一个开关避免这个开销。 @maidabu

from onediff.

maidabu avatar maidabu commented on June 8, 2024

您提到的情况确实存在,为了支持动态分辨率,所以性能多了10%的开销。 https://github.com/siliconflow/onediff/pull/552/files

为什么支持动态分辨率性能会下降这么多,底层跑的kernel应该都一样吧

from onediff.

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.