Giter Club home page Giter Club logo

Comments (8)

yunfanxiao avatar yunfanxiao commented on May 14, 2024

可尝试使用taskset绑定测试程序到CPU大核调度,对小模型CPU调度和驱动开销无法被GPU kernel耗时掩盖,影响会比较明显

from bolt.

peyer avatar peyer commented on May 14, 2024

@yunfanxiao 我也是在小米11上,测试了高通官方最新的adreno_opencl_ml_sdk_v2.1.zip,小米11上调用clQueryMLInterfaceVersionsQCOM接口会返回CL_OUT_OF_HOST_MEMORY的报错,但是高通官方说660以上是支持cl_qcom_ml_ops扩展的,请教一下bolt是怎么测试出adreno_opencl_ml_sdk的性能的

from bolt.

yunfanxiao avatar yunfanxiao commented on May 14, 2024

bolt目前没有集成qcom的ml sdk,这个问题可以去qcom官方问下

from bolt.

peyer avatar peyer commented on May 14, 2024

嗷嗷,我也是看到知乎上bolt的一个大佬提及qcom的adreno_opencl_ml_sdk实测性能可以达到1.5T,所以想请教怎么解决
image

from bolt.

chillingche avatar chillingche commented on May 14, 2024

嗷嗷,我也是看到知乎上bolt的一个大佬提及qcom的adreno_opencl_ml_sdk实测性能可以达到1.5T,所以想请教怎么解决 image

qcom adreno clml sdk接口虽然集成在libOpenCL.so,但是它依赖的vendor库默认没有开放权限给第三方app,第三方开发者调用时会返回-6,相应的,logcat中也会发现selinux audit日志。如果有root过的888或者8Gen1设备,可以setenforce 0测试。

from bolt.

peyer avatar peyer commented on May 14, 2024

@chillingche 多谢,得找个root的设备试试;权限问题的话是手机厂商没有开放是吧,虽然高通开放了

from bolt.

yy6163773 avatar yy6163773 commented on May 14, 2024

可尝试使用taskset绑定测试程序到CPU大核调度,对小模型CPU调度和驱动开销无法被GPU kernel耗时掩盖,影响会比较明显

@yunfanxiao 在小米11 888上进行cpu绑定尝试 taskset -a 70 ./benchmark -a GPU -w 10 -l 10 -m ResNet-50_f16.bolt 这样平均耗时从30ms 降低到27ms,可是这与文章里的 25ms还有一定的差距,请问还有什么是需要注意的

from bolt.

LeiDanw avatar LeiDanw commented on May 14, 2024

@peyer 我也遇到了一样的问题,请问下你root手机了吗?这个问题解决了吗

from bolt.

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.