mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #336] [CLOSED] cuda: add experimental Tesla P4 8GB (sm_61) support #2584
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#2584
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/336
Author: @CC-David-CC
Created: 10/1/2026
Status: ❌ Closed
Base:
main← Head:contrib/p4-only📝 Commits (6)
b9f5793cuda: add experimental sm_61 runtime and exact FP32 prefill fallbackbb90fdfserve: allow non-MTP decoding and omit unavailable PCIe expert paths67b0fedbench: compare RDNA1 text throughput with and without MTP07d281adocs: add P4 measurements and isolated draft scope6e19465docs: show P4 hardware and measured timings at top of contribution README340b6badocs: keep P4 contribution description focused on P4📊 Changes
14 files changed (+1407 additions, -36 deletions)
View changed files
📝
CMakeLists.txt(+17 -2)📝
README.md(+71 -4)📝
docs/DETAILS.md(+130 -0)➕
docs/benchmarks/2026-09-30-sm61.json(+668 -0)📝
include/strata/core/verify.hpp(+5 -1)📝
include/strata/prefill/gemm.hpp(+4 -0)📝
src/core/device.cu(+5 -1)📝
src/core/verify.cpp(+16 -10)📝
src/prefill/gemm.cu(+67 -1)📝
src/program/generate.cpp(+45 -17)➕
tests/cuda/prefill_legacy.cpp(+108 -0)➕
tools/cuda/p4-iq3s-mtp-tuned.example.json(+50 -0)➕
tools/cuda/p4-iq3s.example.json(+50 -0)➕
tools/hip/bench_rdna1.py(+171 -0)📄 Description
Adds experimental Tesla P4 8GB support using CUDA 12.x, with a bounded FP32 prefill path, numerical tests, configurations, and benchmark results.
Tested IQ3_S with Q8 KV, 8192 input tokens, up to 512 output, and 9216 allocated context. Tuned MTP generation: 22.09 tok/s counting, 20.24 coding, 14.94 writing. MTP increased total fresh-request time because prefill was slower. Full timings and limitations are in docs/DETAILS.md.
Separate from AMD PR #323. Includes shared non-MTP serving and benchmark support, but excludes the RX 5500 XT GPU port. Preserves upstream README.
Draft: measurements come from tested revision 9d393df. This isolated contribution branch has not yet been rebuilt and retested. Credit for Strata, expert caching, and MTP belongs to upstream.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.