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

Merge the master branch from tecent/ncnn #6

Merged
merged 86 commits into from
Dec 1, 2022
Merged

Merge the master branch from tecent/ncnn #6

merged 86 commits into from
Dec 1, 2022

Commits on Sep 4, 2022

  1. Configuration menu
    Copy the full SHA
    1d7b217 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    479a73a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Configuration menu
    Copy the full SHA
    5148224 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    b16f8ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f59711 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6167b72 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2022

  1. [Gelu x86] Finish intrinsic with elempack merged(fast version) (Tence…

    …nt#4144)
    
    * Finish the gelu x86 intrinsics
    * Finish the fast tanh x86 simd impl
    LRY89757 committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    5eb56b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Configuration menu
    Copy the full SHA
    bfe27f2 View commit details
    Browse the repository at this point in the history
  2. Bump pypa/cibuildwheel from 2.9.0 to 2.10.1 (Tencent#4207)

    Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.9.0 to 2.10.1.
    - [Release notes](https://github.com/pypa/cibuildwheel/releases)
    - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
    - [Commits](pypa/cibuildwheel@v2.9.0...v2.10.1)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/cibuildwheel
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    183e6e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2022

  1. Configuration menu
    Copy the full SHA
    d30fc82 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Configuration menu
    Copy the full SHA
    4f9e398 View commit details
    Browse the repository at this point in the history
  2. RVV: use new interface for segment load/store & change word_type to s…

    …ize_t&add clang ci (part Tencent#4100) (Tencent#4118)
    
    * RVV: use size_t for vl
    
    * RVV: replace vsseg.v tuple type by using regex
    
    -----
    
    search:
    vsseg([1-9])e(8|16|32)_v_(f|i|u)\2m(1|2|4|8)x\1\(([ -~]+), vcreate_\3\2m\4x\1\(([ -~]+)\), vl\);
    
    substitute by:
    vsseg$1e$2_v_$3$2m$4($5, $6, vl);
    
    * RVV: replace vssseg.v tuple types by using regex
    
    ---
    
    search:
    vssseg([1-9])e(8|16|32)_v_f\2m1x\1\(([ -~]+), vcreate_f\2m1x\1\(([ -~]+)\), vl\);
    
    substitute by:
    vssseg$1e$2_v_f$2m1($3, $4, vl);
    
    * RVV: replace vlseg.v tuple types in load/store
    
    * RVV: replace vloxseg2ei32.v tuple types
    
    * RVV: add a wrapper for old compilers
    
    * RVV: add segment load/store wrapper in pakcing
    
    * RVV: fix cmake test
    
    * RVV: make clang happy by dropping VLAs in sgemm
    
    * RVV: add clang cmake toolchain configure
    
    * RVV: add clang ci, riscv64-unknown-linux-gnu
    
    Co-authored-by: thelastlin <thelastlin@users.noreply.github.com>
    Co-authored-by: nihui <shuizhuyuanluo@126.com>
    3 people committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    e7eadca View commit details
    Browse the repository at this point in the history
  3. Bump pypa/cibuildwheel from 2.10.1 to 2.10.2 (Tencent#4220)

    Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.10.1 to 2.10.2.
    - [Release notes](https://github.com/pypa/cibuildwheel/releases)
    - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
    - [Commits](pypa/cibuildwheel@v2.10.1...v2.10.2)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/cibuildwheel
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    bdcd68f View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Configuration menu
    Copy the full SHA
    59a6fa3 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Add benchmark result of T-Head TH1520 (Tencent#4240)

    `cpuinfo`: 
    
    ```
    isa             : rv64imafdcvsu
    mmu             : sv39
    cpu-freq                : 1.848Ghz
    cpu-icache              : 64KB
    cpu-dcache              : 64KB
    cpu-l2cache             : 1MB
    cpu-tlb         : 1024 4-ways
    cpu-cacheline           : 64Bytes
    cpu-vector              : 0.7.1
    ```
    
    Compiled with `-DCMAKE_TOOLCHAIN_FILE=../toolchains/c910-v240.toolchain.cmake -DCMAKE_BUILD_TYPE=release -DNCNN_OPENMP=OFF -DNCNN_THREADS=OFF -DNCNN_RUNTIME_CPU=OFF -DNCNN_RVV=ON -DNCNN_SIMPLEOCV=ON -DNCNN_BUILD_EXAMPLES=ON` 
    
    Seems much worse than expected 🤔
    YuzukiTsuru committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    eb9bb5d View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. fix param parsing issue when layer/blob name exceeds 255 (Tencent#4236)

    * fix param parsing issue when layer/blob name exceeds 255
    
    * apply code-format changes
    
    Co-authored-by: ZhangGe6 <ZhangGe6@users.noreply.github.com>
    ZhangGe6 and ZhangGe6 committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    3fce00b View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Memory Pool Improvement For Variadic Sized Inputs (Tencent#4190)

    * Simple miss count for better space efficiency
    
    * Simple double ended greedy;
    
    * Add size drop threshold setter;
    
    * set workspace allocator cr to zero as we had some sort of recylcing capability :P
    
    Co-authored-by: LinHeLurking <LinHeLurking@users.noreply.github.com>
    Co-authored-by: nihuini <nihuini@tencent.com>
    3 people committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    9426e21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbbe17c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cef95f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. Configuration menu
    Copy the full SHA
    3e2b3fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    902954d View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Configuration menu
    Copy the full SHA
    0f38cb2 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Configuration menu
    Copy the full SHA
    77eda4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b13c2a1 View commit details
    Browse the repository at this point in the history
  3. fix compile warning with gcc 9.1.0 including simplestl.h file (Tencen…

    …t#4274)
    
    * fix compile warning with gcc 9.1.0 including simplestl.h file
    
    * apply code-format changes
    
    Co-authored-by: veahow <veahow@users.noreply.github.com>
    veahow and veahow committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    f80c274 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Configuration menu
    Copy the full SHA
    0df463a View commit details
    Browse the repository at this point in the history
  2. linux-x64-cpu-gcc on tencent ci

    nihui committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    270d6b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    0b591b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb660d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. fix tencent ci (Tencent#4277)

    nihui committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    c62d256 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5281d51 View commit details
    Browse the repository at this point in the history
  3. Bump pypa/cibuildwheel from 2.10.2 to 2.11.1 (Tencent#4271)

    Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.10.2 to 2.11.1.
    - [Release notes](https://github.com/pypa/cibuildwheel/releases)
    - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
    - [Commits](pypa/cibuildwheel@v2.10.2...v2.11.1)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/cibuildwheel
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    549152c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    777e4ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f770987 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c33cbc9 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Configuration menu
    Copy the full SHA
    8eab5ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8edc03c View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Fix linux build error(Tencent#4265) (Tencent#4294)

    Co-authored-by: wangyu <786794414@qq.com>
    bestpower and wangyu committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    a116e00 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    512e584 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. x86 unified fc fp32/fp16s (Tencent#4303)

    * more fma
    * more transpose utility function
    nihui committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    5ee276c View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Bump pypa/cibuildwheel from 2.11.1 to 2.11.2 (Tencent#4308)

    Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.11.1 to 2.11.2.
    - [Release notes](https://github.com/pypa/cibuildwheel/releases)
    - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
    - [Commits](pypa/cibuildwheel@v2.11.1...v2.11.2)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/cibuildwheel
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    b17c9eb View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. Configuration menu
    Copy the full SHA
    fdf129f View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. fix Tencent#4315 (Tencent#4316)

    nihui committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    9c6f110 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. get_physical_cpu_count api family (Tencent#4302)

    * get_physical_cpu_count api family
    
    * set default to physical big cpu
    
    * always treat smt core as big core
    
    * is_smt_cpu
    
    * get max freq mhz on windows
    
    * windows thread affinity
    nihui committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    b853b3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e49fa3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f9a3bb View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Configuration menu
    Copy the full SHA
    a91411e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31602bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1ac1de View commit details
    Browse the repository at this point in the history
  4. fix ci pnnx build

    nihui committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    2ef57a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Configuration menu
    Copy the full SHA
    bcf06bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8d40a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a12c24d View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Configuration menu
    Copy the full SHA
    d522e78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b28c17 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    92da26b View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2022

  1. Configuration menu
    Copy the full SHA
    abb2843 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb88e16 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    a7e3c62 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    a2af636 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Configuration menu
    Copy the full SHA
    279222c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6019f47 View commit details
    Browse the repository at this point in the history
  3. gridsample op support (Tencent#4288)

    
    Co-authored-by: LRY89757 <LRY89757@users.noreply.github.com>
    Co-authored-by: nihuini <nihuini@tencent.com>
    Co-authored-by: nihui <shuizhuyuanluo@126.com>
    4 people committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    6a47f8d View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. Configuration menu
    Copy the full SHA
    498ca73 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Configuration menu
    Copy the full SHA
    eceac35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6967baa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec1b07c View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. pnnx fuse more function to module (Tencent#4351)

    * pnnx fuse more function to module
    
    * rename some pass name
    
    * fuse adjacent reshape, fuse pad conv2d
    
    * fuse pad conv1d
    nihui committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    aed05aa View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. split tests (Tencent#4354)

    nihui committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    057b5bb View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Configuration menu
    Copy the full SHA
    1b83fe4 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2022

  1. Fix typo in stb_image.h (Tencent#4358)

    exitting -> exiting
    eltociear committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    cdba4ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5e60ae View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. update release ci (Tencent#4359)

    * update release ci
    
    * find modern glslang
    
    * parallel jobs on windows
    nihui committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    6647396 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Fix c api allocator (Tencent#4360)

    * add some c_api interfaces related to allocator setup.
    
    * fix errors in allocator parameters in c_api.
    
    * test c api allocator
    
    Co-authored-by: zhangtongshe <yuyuyezi@vip.qq.com>
    nihui and qiqikit committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    0736c5b View commit details
    Browse the repository at this point in the history
  2. update glslang (Tencent#4361)

    nihui committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    f527fe8 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. Configuration menu
    Copy the full SHA
    cf07bd9 View commit details
    Browse the repository at this point in the history
  2. I added one more project to the list of examples. (Tencent#4205)

    * Dedicated to coloring black and white photographs.
    magicse committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    8f9a524 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    47c4ab7 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Configuration menu
    Copy the full SHA
    bdcbc37 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Configuration menu
    Copy the full SHA
    c934c6e View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Update release-python.yml

    nihui committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    03550ba View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. small fixes

    csukuangfj committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    77ba238 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e82a82 View commit details
    Browse the repository at this point in the history
  3. unpack list input

    csukuangfj committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    49fd80f View commit details
    Browse the repository at this point in the history
  4. Remove LSTM2

    csukuangfj committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    064831d View commit details
    Browse the repository at this point in the history
  5. fix LSTM

    csukuangfj committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    2c6d916 View commit details
    Browse the repository at this point in the history