Giter Site home page Giter Site logo

Comments (3)

yehudaorel avatar yehudaorel commented on June 6, 2024

Hi @feixuedudiao, Intel(R) UHD Graphics 630 does not have native hardware accelerator for bf16 operations. If I recall correctly, Gen9(.5) has native support for fp16 & fp32 operations. Given these hardware constraints, bf16 operations might be up/down converted behind the scenes to fp32, which can introduce overhead and impact performance. In addition, post-ops are typically optimized for specific data types, and the implementation of hardswish post-op might be more efficient for fp16 or fp32 compared to bf16 on this particular arch.

from onednn.

feixuedudiao avatar feixuedudiao commented on June 6, 2024

@yehudaorel .Thank you to answer my question, but i have a problem that which model of cpu can support the bf16 operations, and which can support fp16 opeartions. I have not find in the document.

from onednn.

yehudaorel avatar yehudaorel commented on June 6, 2024

@feixuedudiao, you can refer to oneDNN docs for hardware limitations and supported Instruction Set Architectures (ISA's) for a specific data type. Please note that ISA's such as AVX512-FP16 and AMX-BF16 are only found on Intel Xeon Scalable Processor family. Similarly you can checkout optimized GPU microarchitecture for supported dtypes.

I would highly recommend to invest in a dedicated GPU if you plan on running compute intensive AI workloads. Intel(R) Arc(TM) Graphics is an example which supports native optimizations for [f32, f16, bf16, s8, u8] data types.

If you would rather go the client CPU & iGPU route I would recommend to checkout Intel(R) Core(TM) Ultra Processors (codename Meteor Lake) which documents the following dtype support:

CPU(Intel® Core™ Ultra 7 processor 155UL):
image

iGPU(Intel® Core™ Ultra 7 processor 155UL):
image

NPU(Intel® Core™ Ultra 7 processor 155UL):
image

Note that NPU engine is currently only supported via openVINO framework.

Hope this helps!

from onednn.

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.