Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #21

Merged
merged 37 commits into from
Mar 3, 2024
Merged

Dev #21

merged 37 commits into from
Mar 3, 2024

Conversation

Xinyu302
Copy link
Owner

No description provided.

fty1777 and others added 24 commits February 22, 2024 09:50
* add basic shufflechannel

* finish but bug

* fix bug

* apply code-format changes

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>
* convd 3x3 packn asm

* apply code-format changes

---------

Co-authored-by: fty1777 <fty1777@users.noreply.github.com>
* add float2int8

* pass compile

* apply code-format changes

* add float2int8leakyrelu

* add quantize_riscv but has bug

* fix bug

* fix bug of float2int8relu

* apply code-format changes

* Add quantize fp16 (#6)

* finish quantize fp16 to int8

* fix quantize bug

* apply code-format changes

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>

* Add dequantize (#3)

* add-deq

* apply code-format changes

* ongoing dequantize

* apply code-format changes

* finish dequantize_riscv, but has bug

* fix vset bug

* fix bug

* delete debug info

* apply code-format changes

* refine dequantize

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>

* Add innerproduct (#5)

* add int innerproduct

* apply code-format changes

* finish innerproduct, but not tested yet

* apply code-format changes

* bug because no fp16 quantize

* change flatten to make it right

* pass test

* delete useless code

* apply code-format changes

* delete useless code

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>

* copy arm convolutiondepthwise to convolutiondepthwise_riscv.cpp

* change int8 packn to 8 (#7)

* change int8 packn to 8

* test_convert packing right

* modify header (#8)

* finish convolutiondepthwise_3x3_pack8_int8

* apply code-format changes

* delete comment

* Fix pack (#10)

* modify

* debug

* fix quantize and innerproduct

* apply code-format changes

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>

* pack8 maybe right

* apply code-format changes

* debug

* debug

* modify padding using pack8 (#12)

* apply code-format changes

* use pack8

* apply code-format changes

* pack8 right

* add basic conv

* apply code-format changes

* finish requantize but has bug (#13)

* finish requantize but has bug

* fix bug

* delete comment

* apply code-format changes

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>

* now can use requantize

* delete comment

* add arm base, now to rewrite it to riscv-v extension

* apply code-format changes

* try to finish

* apply code-format changes

* try to add pack8

* try to handle vpadalq_s16

* apply code-format changes

* finish kernel. pass test

* use new kernel

* fix kernel bug

* pass test

* apply code-format changes

* fix net.cpp layer pack

* fix segfault bug

* add fp16 dequantize_riscv.cpp

* use same elesize

* remove comment

* delete comment

* apply code-format changes

* dequantize fp16sa

* apply code-format changes

* WIP: buggy int8 packn

* WIP: maybe fixed

* apply code-format changes

* fix depthwise conv bug

---------

Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>
Co-authored-by: fty1777 <fty1777@users.noreply.github.com>
* reorder inst

* convd 3x3 pack1

* apply code-format changes

---------

Co-authored-by: fty1777 <fty1777@users.noreply.github.com>
Xinyu302 and others added 9 commits February 26, 2024 12:48
* WIP: conv wino int8

* change f16 to i16

* top_blob_tm create 4u * packn

* WIP: conv 3x3 winograd transform input(1/2)/output(0/2)/kernel(2/2done)

* finish winograd23 int8 transform

* WIP: conv 3x3 winograd transform input(1/2)/output(1/2)/kernel(2/2done)

* apply code-format changes

* fix bug in convolution_winograd_dot_packn_int8.h

* can compile, not test yet

* use winograd transform kernel

* winograd23 result divide 2, now can pass test

* apply code-format changes

* winograd23 riscv int8 opt

* conv winograd43 riscv int8

---------

Co-authored-by: fty1777 <fty1777@live.com>
Co-authored-by: fty1777 <fty1777@users.noreply.github.com>
Co-authored-by: Xinyu302 <Xinyu302@users.noreply.github.com>
* conv 3x3 pack1ton

* apply code-format changes

---------

Co-authored-by: fty1777 <fty1777@live.com>
Co-authored-by: fty1777 <fty1777@users.noreply.github.com>
@Xinyu302 Xinyu302 merged commit 9629673 into master Mar 3, 2024
94 of 106 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants