Giter Site home page Giter Site logo

ieit-yuan / 3rd_party Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 2.0 2.97 MB

CMake 0.66% Makefile 0.31% Swift 0.39% Python 4.87% Zig 0.06% Shell 0.80% C++ 71.95% Objective-C 1.39% Vim Script 0.05% C 12.51% JavaScript 0.12% HTML 0.30% Nix 0.06% Cuda 4.08% Metal 2.25% Kotlin 0.19% Batchfile 0.01%

3rd_party's Introduction

Yuan2.0 第三方开源项目引用

Update 🎉🎉

[2024-05-31] llama.cpp 特性更新

  • base由b1742更新为b2249
  • 支持Yuan2.0、Yuan2.0-M32
  • 修改lfa输入缓存为2个token
  • 修改-i交互模式下的若干bug

本仓库包含第三方开源项目、库文件与基于开源项目的二次开发版本。

3rd_party's People

Contributors

chong000 avatar huifu1018 avatar zhanghui06 avatar

Stargazers

 avatar  avatar

3rd_party's Issues

Unexpected tensor name: model.layers.0.mlp.gate.query.weight while converting to gguf

I was trying to convert the yuan model to gguf and getting the above error.

Vocab info: <VocabLoader with 134953 base tokens and 0 added tokens>
Special vocab info: <SpecialVocab with 0 merges, special tokens {'bos': 77185, 'eos': 77185, 'sep': 77185, 'pad': 77185, 'mask': 77185}, add special tokens {'bos': False, 'eos': False}>
Permuting layer 0
Permuting layer 1
Permuting layer 2
Permuting layer 3
Permuting layer 4
Permuting layer 5
Permuting layer 6
Permuting layer 7
Permuting layer 8
Permuting layer 9
Permuting layer 10
Permuting layer 11
Permuting layer 12
Permuting layer 13
Permuting layer 14
Permuting layer 15
Permuting layer 16
Permuting layer 17
Permuting layer 18
Permuting layer 19
Permuting layer 20
Permuting layer 21
Permuting layer 22
Permuting layer 23
model.embed_tokens.weight -> token_embd.weight | BF16 | [135040, 2048]
model.layers.0.self_attn.v_proj.weight -> blk.0.attn_v.weight | BF16 | [4096, 2048]
model.layers.0.self_attn.o_proj.weight -> blk.0.attn_output.weight | BF16 | [2048, 4096]
model.layers.0.self_attn.lf_gate.conv1.weight -> blk.0.conv1.weight | BF16 | [1024, 2048, 2, 1]
model.layers.0.self_attn.lf_gate.conv1.bias -> blk.0.conv1.bias | BF16 | [1024]
model.layers.0.self_attn.lf_gate.conv2.weight -> blk.0.conv2.weight | BF16 | [2048, 1024, 2, 1]
model.layers.0.self_attn.lf_gate.conv2.bias -> blk.0.conv2.bias | BF16 | [2048]
model.layers.0.self_attn.lf_gate.output_layernorm.weight -> blk.0.lf_output_norm.weight | BF16 | [2048]
model.layers.0.self_attn.q_proj.weight -> blk.0.attn_q.weight | BF16 | [4096, 2048]
model.layers.0.self_attn.k_proj.weight -> blk.0.attn_k.weight | BF16 | [4096, 2048]
Traceback (most recent call last):
File "3rd_party/llama-cpp/convert.py", line 1343, in
main()
File "3rd_party/llama-cpp/convert.py", line 1329, in main
model = convert_model_names(model, params) # 取消hf中的permut和pack,更改模型层的名字;
File "3rd_party/llama-cpp/convert.py", line 1105, in convert_model_names
raise Exception(f"Unexpected tensor name: {name}")
Exception: Unexpected tensor name: model.layers.0.mlp.gate.query.weight

Apple M2 Max Error

Model: IEITYuan/Yuan2-2B-Mars-hf
Error:

ggml_metal_graph_compute_block_invoke: error: unsupported op 'REPEAT'
GGML_ASSERT: ggml-metal.m:798: !"unsupported op"

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.