mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1518] [CLOSED] Start Porting for DeepSeek4-Flash #3506
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3506
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1518
Author: @perronemirko
Created: 10/8/2026
Status: ❌ Closed
Base:
main← Head:deepseekv4-flash📝 Commits (3)
c71b5ebStart Porting for DeepSeek4-Flash9aea311feat(gpu): implement batched prefill for expert and attention processingbd6fc62build(CMake): configure batch prefill tests and Python3📊 Changes
53 files changed (+138181 additions, -1 deletions)
View changed files
📝
CMakeLists.txt(+6 -1)➕
dsv4_ext/.gitignore(+3 -0)➕
dsv4_ext/CMakeLists.txt(+108 -0)➕
dsv4_ext/README.md(+193 -0)➕
dsv4_ext/build.sh(+145 -0)➕
dsv4_ext/diagrams/architecture.dot(+226 -0)➕
dsv4_ext/diagrams/classes.dot(+171 -0)➕
dsv4_ext/docs/deepseek_v4_flash_porting.md(+84 -0)➕
dsv4_ext/include/dsv4/config.hpp(+131 -0)➕
dsv4_ext/include/dsv4/dequant.hpp(+128 -0)➕
dsv4_ext/include/dsv4/dq_traits.hpp(+299 -0)➕
dsv4_ext/include/dsv4/gguf_header.hpp(+168 -0)➕
dsv4_ext/include/dsv4/gpu.hpp(+348 -0)➕
dsv4_ext/include/dsv4/iq_tables.hpp(+122 -0)➕
dsv4_ext/include/dsv4/mem_plan.hpp(+107 -0)➕
dsv4_ext/include/dsv4/model.hpp(+321 -0)➕
dsv4_ext/include/dsv4/ops.hpp(+266 -0)➕
dsv4_ext/include/dsv4/sampler.hpp(+104 -0)➕
dsv4_ext/include/dsv4/serve_loop.hpp(+67 -0)➕
dsv4_ext/serve-work/tokenizer/chat_template.jinja(+248 -0)...and 33 more files
📄 Description
Title
Issue: Resolves #
support the deepseek v4 flash (https://github.com/Niko1221/Strata/issues/1501)
Summary
Adding add_subdirectory(dsv4_ext) to keep the Strata core clean
Adding DeepSeekV4 Flash
What changed
All the files inside the subdirectory dsv4_ext are used to port the DeepSeekV4 Flash
Extra Notes
Everything is done with my supervision and have been tested on /DeepSeek-V4-Flash-UD-IQ1_M
Device: NVIDIA driver: nvidia v: 610.57.04
CUDA 12.8
export CXX=/usr/bin/g++-10
export CC=/usr/bin/gcc-10
ninja --version
1.10.1
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.