Giter Club home page Giter Club logo

Comments (4)

v0jiuqi avatar v0jiuqi commented on September 25, 2024 1

诸如 mov v2.8h,v7.8h 改为 mov v2.16b,v7.16b,不要改成 mov v2.8b,v7.8b

from mnn.

v0jiuqi avatar v0jiuqi commented on September 25, 2024

把MNNAbsMaxFP16.S 文件中 15行到20行的内容删掉,再编译。即
image

from mnn.

kmn1024 avatar kmn1024 commented on September 25, 2024

谢大佬!但之后有另一个问题:

/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S: Assembler messages:
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:66: Error: operand mismatch -- `mov v2.8h,v7.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:66: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:66: Info:    mov v2.8b, v7.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:66: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:66: Info:    mov v2.16b, v7.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:68: Error: operand mismatch -- `mov v1.8h,v6.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:68: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:68: Info:    mov v1.8b, v6.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:68: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:68: Info:    mov v1.16b, v6.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:104: Error: operand mismatch -- `mov v2.8h,v7.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:104: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:104: Info:    mov v2.8b, v7.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:104: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:104: Info:    mov v2.16b, v7.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:106: Error: operand mismatch -- `mov v1.8h,v6.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:106: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:106: Info:    mov v1.8b, v6.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:106: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:106: Info:    mov v1.16b, v6.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:158: Error: operand mismatch -- `mov v2.8h,v7.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:158: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:158: Info:    mov v2.8b, v7.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:158: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:158: Info:    mov v2.16b, v7.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:160: Error: operand mismatch -- `mov v1.8h,v6.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:160: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:160: Info:    mov v1.8b, v6.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:160: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:160: Info:    mov v1.16b, v6.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:196: Error: operand mismatch -- `mov v2.8h,v7.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:196: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:196: Info:    mov v2.8b, v7.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:196: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:196: Info:    mov v2.16b, v7.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:198: Error: operand mismatch -- `mov v1.8h,v6.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:198: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:198: Info:    mov v1.8b, v6.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:198: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:198: Info:    mov v1.16b, v6.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:366: Error: operand mismatch -- `mov v3.8h,v21.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:366: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:366: Info:    mov v3.8b, v21.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:366: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:366: Info:    mov v3.16b, v21.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:367: Error: operand mismatch -- `mov v4.8h,v21.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:367: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:367: Info:    mov v4.8b, v21.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:367: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:367: Info:    mov v4.16b, v21.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:417: Error: operand mismatch -- `mov v3.8h,v21.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:417: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:417: Info:    mov v3.8b, v21.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:417: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:417: Info:    mov v3.16b, v21.16b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:418: Error: operand mismatch -- `mov v4.8h,v21.8h'
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:418: Info:    did you mean this?
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:418: Info:    mov v4.8b, v21.8b
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:418: Info:    other valid variant(s):
/home/ubuntu/mnn-llm/MNN/source/backend/arm82/asm/arm64/low_memory/MNNPackedMatMulFP16_int4.S:418: Info:    mov v4.16b, v21.16b

from mnn.

kmn1024 avatar kmn1024 commented on September 25, 2024

跑得动了!太牛太快了🐄 好期待 opencl 的来临 (wangzhaode/mnn-llm#136 (comment)) !

from mnn.

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.