Skip to content

cuda: add experimental Tesla P4 8GB (sm_61) support - #336

Closed
CC-David-CC wants to merge 6 commits into
Niko1221:mainfrom
CC-David-CC:contrib/p4-only
Closed

CC-David-CC wants to merge 6 commits into
Niko1221:mainfrom
CC-David-CC:contrib/p4-only

Conversation

@CC-David-CC

Copy link
Copy Markdown
Contributor

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.

@Niko1221

Niko1221 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Thanks! Please rebase onto 0.1.31's experimental flag instead of a new SM61 flag (STRATA_EXPERIMENTAL_SM60 already admits 6.x), put init_pascal under it (it now runs on every CUDA init), and check whether the FP32 GEMM fallback is needed - #295's 1080 Ti (also sm_61) runs without it. The non-MTP serving part goes with #323's split. Closing until then.

@Niko1221 Niko1221 closed this Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants