[GH-ISSUE #2375] [Feature Request] support for older nvidia Tesla M40 #959

Closed
opened 2026-11-04 01:47:20 +07:00 by bsakaguchi · 8 comments
Owner

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

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
Author
Owner

@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, and CMakeLists.txt refuses 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.

<!-- gh-comment-id:6184284669 --> @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](https://github.com/Niko1221/Strata/blob/main/docs/OLDER_GPUS.md#support-matrix)) goes down to 6.0, and `CMakeLists.txt` refuses 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.
Author
Owner

@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.

Image Image Image Image
<!-- gh-comment-id:6214691561 --> @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. <img width="899" height="2048" alt="Image" src="https://github.com/user-attachments/assets/ffcef34b-7fc2-4432-b4cc-2dd7d1d0571b" /> <img width="899" height="2048" alt="Image" src="https://github.com/user-attachments/assets/400faa4c-4a0d-407b-91be-d3f2e687217a" /> <img width="899" height="2048" alt="Image" src="https://github.com/user-attachments/assets/bb648048-904b-4b9d-a3af-873a34b0432f" /> <img width="899" height="2048" alt="Image" src="https://github.com/user-attachments/assets/9c795302-9bb5-48bb-baf9-1970979016e9" />
Author
Owner

@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:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270993768 --> @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: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

@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

<!-- gh-comment-id:6272314450 --> @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
Author
Owner

@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

<!-- gh-comment-id:6280928181 --> @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
Author
Owner

@arni992 commented on GitHub (Oct 21, 2026):

@Procyan Many thanks- worked like a charm. You made my day ;)

<!-- gh-comment-id:6314743934 --> @arni992 commented on GitHub (Oct 21, 2026): @Procyan Many thanks- worked like a charm. You made my day ;)
Author
Owner

@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

<!-- gh-comment-id:6328040129 --> @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
Author
Owner

@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. :-(

<!-- gh-comment-id:6349660421 --> @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. :-(
Sign in to join this conversation.
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
Niko1221/Strata#959
No description provided.