mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2375] [Feature Request] support for older nvidia Tesla M40 #959
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#959
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?
Originally created by @arni992 on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2375
This card is old - Maxwell 2.0 but still, that amount of vRAM makes pretty nice thing for AI purposes.
But when I try to run Strata it tells me that only RTX2000+ are supported. Is it just software limitation for making the usage more comfort or actually m40 lacks some instructions etc?
(people reading this beware of even cheaper cards like M10 32GB which is in fact 4x8GB and it's useless for LLMs).
Many thanks in advance, You are doing awesome job <3
@qiuzan2001 commented on GitHub (Oct 15, 2026):
It is a build floor, not only a comfort limit. The M40 is Maxwell, compute capability 5.2. The release engine needs 7.5 (RTX 20 and newer); the community CUDA 12 engine (
-DSTRATA_EXPERIMENTAL_SM60=ON, docs/OLDER_GPUS.md) goes down to 6.0, andCMakeLists.txtrefuses anything lower even with that flag ("even the experimental build needs compute capability 6.0 (sm_60) or newer"). The oldest cards with reports are the Tesla P100 (6.0) and P40 (6.1), e.g. a P40 with IQ3_S at 30-38 tok/s decode, so a P40 24 GB is the nearest card in that price range that runs today. Whether the kernels could be made to work on 5.2 has not been tried.@Procyan commented on GitHub (Oct 16, 2026):
I have a super DIY hodgepodge computer running Strata that I, directed Ai to modify, to support the Tesla M40. It upped my token generation from 9 tks to around 20 tks on a single M40. My computer is ancient compared with modern hardware but it is fast enough to serve just me while I'm learning and playing around with Ai.
Intel i5: 6600k
Ram: 48GB DDR4
Storage: 1TB SSD (C: drive)
3TB Western Digital hard drive, for storage.
The really slow part is reading and prefill. I found a different article about how prefill could be optimized some more and so I'm looking into that. Attached are some images I took from my phone. I gave my model internet access through wireguard and web search capability with a search engine I setup. I know it is super basic but I am excited to see it actually working.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@arni992 commented on GitHub (Oct 19, 2026):
@Procyan could You provide some details? or could You for a repository and put Your code in there so we can see what You did? it looks super cool
@Procyan commented on GitHub (Oct 20, 2026):
I think I did this correct
https://github.com/Procyan/Strata-Tesla-M40-sm52
hope it works for you
@arni992 commented on GitHub (Oct 21, 2026):
@Procyan Many thanks- worked like a charm. You made my day ;)
@Procyan commented on GitHub (Oct 21, 2026):
Sweet I'm glad it worked. I'm still tinkering with my rig but I think it is basically as fast as it ever will be, given how old the hardware is. It really just makes me want to just put a real machine on the credit card. lol
@Procyan commented on GitHub (Oct 22, 2026):
FYI I was able to make the context window 204,000 tokens and it slowed down a little bit but it still compacts when full and even though it it slow it keeps chugging away. I need to figure out how to make the model more accurate though. I keep getting coding errors. :-(