[PR #137] [CLOSED] LoRA: llama.cpp-compatible GGUF adapters on every engine path #360

Closed
opened 2026-10-29 21:24:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mw00/project-maya/pull/137
Author: @kabachuha
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: lora


📝 Commits (4)

  • 5ef09ae LoRA: llama.cpp-compatible GGUF adapters on every engine path (--lora GGUF [scale]), verified against llama.cpp's own adapter math
  • 1d9d447 Merge branch 'main' into lora
  • 679952a Merge branch 'main' into lora
  • 72ba100 LoRA: accept the "glm5-next" architecture name the newer adapters use (the model's own; the older heretic ones write "glm5next")

📊 Changes

15 files changed (+1604 additions, -17 deletions)

View changed files

📝 CMakeLists.txt (+8 -1)
➕ include/strata/core/glm_lora.hpp (+76 -0)
📝 include/strata/core/glm_model.hpp (+10 -2)
➕ include/strata/kernels/glm_lora.hpp (+43 -0)
📝 maya.py (+4 -0)
📝 src/core/glm_fast_path.cu (+96 -12)
📝 src/core/glm_fast_state.hpp (+6 -0)
➕ src/core/glm_lora.cu (+288 -0)
📝 src/core/glm_model.cu (+40 -0)
📝 src/core/glm_prefill.cu (+60 -2)
📝 src/core/glm_rows.cu (+22 -0)
📝 src/core/glm_window.cu (+52 -0)
➕ src/kernels/cuda/glm_lora.cu (+566 -0)
📝 src/program/generate.cpp (+21 -0)
➕ tests/glm_lora_kernels_test.cu (+312 -0)

📄 Description

WIP

This PR adds LoRA support in gguf format. Especially useful for applying this Heretic abliteration LoRA:

https://huggingface.co/MorinoNushi/GLM-5.3-Flash-Heretic-Abliterated-LoRA-V2-GGUF


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mw00/project-maya/pull/137 **Author:** [@kabachuha](https://github.com/kabachuha) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `lora` --- ### 📝 Commits (4) - [`5ef09ae`](https://github.com/mw00/project-maya/commit/5ef09aee762e62319863b12dc4237c50dc62ca5e) LoRA: llama.cpp-compatible GGUF adapters on every engine path (--lora GGUF [scale]), verified against llama.cpp's own adapter math - [`1d9d447`](https://github.com/mw00/project-maya/commit/1d9d447a28a5e57214c1bb0b85a6701001323547) Merge branch 'main' into lora - [`679952a`](https://github.com/mw00/project-maya/commit/679952a3e4c66473993c16c9c5c3640ae6ba2d8d) Merge branch 'main' into lora - [`72ba100`](https://github.com/mw00/project-maya/commit/72ba1005e545e199f91a56488931705e2cb9fec3) LoRA: accept the "glm5-next" architecture name the newer adapters use (the model's own; the older heretic ones write "glm5next") ### 📊 Changes **15 files changed** (+1604 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+8 -1) ➕ `include/strata/core/glm_lora.hpp` (+76 -0) 📝 `include/strata/core/glm_model.hpp` (+10 -2) ➕ `include/strata/kernels/glm_lora.hpp` (+43 -0) 📝 `maya.py` (+4 -0) 📝 `src/core/glm_fast_path.cu` (+96 -12) 📝 `src/core/glm_fast_state.hpp` (+6 -0) ➕ `src/core/glm_lora.cu` (+288 -0) 📝 `src/core/glm_model.cu` (+40 -0) 📝 `src/core/glm_prefill.cu` (+60 -2) 📝 `src/core/glm_rows.cu` (+22 -0) 📝 `src/core/glm_window.cu` (+52 -0) ➕ `src/kernels/cuda/glm_lora.cu` (+566 -0) 📝 `src/program/generate.cpp` (+21 -0) ➕ `tests/glm_lora_kernels_test.cu` (+312 -0) </details> ### 📄 Description WIP This PR adds LoRA support in gguf format. Especially useful for applying this Heretic abliteration LoRA: https://huggingface.co/MorinoNushi/GLM-5.3-Flash-Heretic-Abliterated-LoRA-V2-GGUF --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:24:38 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#360
No description provided.