Comments (1)
To configure microkernels we need to run benchmarks on RVV hardware.
The kernels support m1, m2, m4 and m8 and normally we'd run the benchmark, select the fastest and plug that into the config.
There is a microkernel benchmark, which shows the kernels that could be used
f32_vhswish/rvv_u1v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u1v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u2v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u2v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u4v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u4v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u8v/N:3840/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/rvv_u8v/N:32640/real_time ERROR OCCURRED: 'no V extension'
f32_vhswish/scalar_u1/N:3840/real_time 322413 ns 322405 ns 2174 bytes=95.2816M/s
f32_vhswish/scalar_u1/N:32640/real_time 2736093 ns 2736025 ns 256 bytes=95.4354M/s
f32_vhswish/scalar_u2/N:3840/real_time 267837 ns 267827 ns 2611 bytes=114.696M/s
f32_vhswish/scalar_u2/N:32640/real_time 2278400 ns 2278154 ns 308 bytes=114.607M/s
f32_vhswish/scalar_u4/N:3840/real_time 289920 ns 289905 ns 2413 bytes=105.96M/s
f32_vhswish/scalar_u4/N:32640/real_time 2479500 ns 2479095 ns 284 bytes=105.312M/s
To test they work, I manually hack the cpu_info RVV detect and run on qemu.
We prefer properly test on real hardware before enabling, but if you want to help with that, contributions welcome
from xnnpack.
Related Issues (20)
- will you Plan to support int8 perchannel quantize for linear op? HOT 2
- building failed on Raspberry Pi 4 HOT 1
- Regarding the issue with f32-gemm-bench. HOT 2
- filtering out -mcpu=native when building with Bazel on Arm 64-bit (aarch64) HOT 2
- Help Wanted: How to use SIMD to accelerate Exponential function on CPU.
- Dynamic Shape Support HOT 4
- Build error when including XNNPACK using FetchContent HOT 4
- Help needed: any doc available.
- experiments-config.h is hiding the xnnpack.h header
- GELU support in XNNPACK HOT 4
- Need help: bench the 'sdpa' operator HOT 1
- Concatenate and Split don't support input that has 0 size dimension HOT 4
- Vector extension errors while building on RISC-V HOT 2
- Avoid undefined behavior in memcpy call in `xnn_define_static_reshape`
- Clamp on empty ranges should be valid HOT 2
- f32-raddstoreexpminusmax-rvv-rr2-p6-u4v.c error: no member named 'rvv_rr2_p6' in 'union xnn_f32_expminus_params' HOT 1
- Request for Legacy CPU Support or Improved Error Handling HOT 2
- [QD8_F32_QC4W] Issue with odd number of input_channels HOT 3
- XNNPACK make error scc1: error: invalid feature modifier 'i8mm' in '-march=armv8.2-a+i8mm+fp16' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xnnpack.