[GH-ISSUE #534] Performance, RTX3060 vs RX7800XT #250

Closed
opened 2026-11-04 01:41:19 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @blastbeng on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/534

Hello,
in my setup i have a RTX3060 12GB, RX7800XT 16GB, 7800x3d cpu and 64gb of ram

I am using ubuntu 26 LTS.

Strata is awesome, i did a lot of tests but in my experience i had better luck using the 'OLD' RTX 3060 instead of my powerful RX7800XT with HIP. Why?

I am using swift1.5 IQ3_XXS (128k context kv q8) and getting around 30/35 TOKS
WIth RX7800XT I was getting 40/45 TOKS but the system was unstable, it was crashing the GUI and all the apps, systemd-oomd was constantly killing apps and also killing STRATA.

That is not happening using CUDA on the 3060 with same setup as the one i was using with the RX7800XT, why?

Is the HIP implementation still experimental, so for my setup is better to go with CUDA?
What could i do to get my RX7800XT to work correctly without systemd-oomd to kill everything?

Thanks in advance

Originally created by @blastbeng on GitHub (Oct 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/534 Hello, in my setup i have a RTX3060 12GB, RX7800XT 16GB, 7800x3d cpu and 64gb of ram I am using ubuntu 26 LTS. Strata is awesome, i did a lot of tests but in my experience i had better luck using the 'OLD' RTX 3060 instead of my powerful RX7800XT with HIP. Why? I am using swift1.5 IQ3_XXS (128k context kv q8) and getting around 30/35 TOKS WIth RX7800XT I was getting 40/45 TOKS but the system was unstable, it was crashing the GUI and all the apps, systemd-oomd was constantly killing apps and also killing STRATA. That is not happening using CUDA on the 3060 with same setup as the one i was using with the RX7800XT, why? Is the HIP implementation still experimental, so for my setup is better to go with CUDA? What could i do to get my RX7800XT to work correctly without systemd-oomd to kill everything? Thanks in advance
Author
Owner

@BlueKingMuch commented on GitHub (Oct 2, 2026):

Which version did you run? because v0.1.37 was just released a few minutes ago and has several improvements also for AMD

so i can only speak of Windows, there has been an VRAM overallocation / planning quirk there where the engine (due to the AMD driver counts "free VRAM" different than nVidia) overallocated the "VRAM only" part of the model and there could be a spill. --> I didn't test it on Linux, but could be there too the same problem.

I'd suggest to try out the new version!

<!-- gh-comment-id:5960720067 --> @BlueKingMuch commented on GitHub (Oct 2, 2026): Which version did you run? because v0.1.37 was just released a few minutes ago and has several improvements also for AMD so i can only speak of Windows, there has been an VRAM overallocation / planning quirk there where the engine (due to the AMD driver counts "free VRAM" different than nVidia) overallocated the "VRAM only" part of the model and there could be a spill. --> I didn't test it on Linux, but could be there too the same problem. I'd suggest to try out the new version!
Author
Owner

@Niko1221 commented on GitHub (Oct 3, 2026):

What you saw on the RX 7800 XT is the same problem as #560 / #516. The expert cache fills the card, and when the desktop needs VRAM, the amdgpu driver moves GPU memory to system RAM, which the model's experts already use. systemd-oomd then kills apps, the desktop, or Strata. With CUDA the NVIDIA driver doesn't do that move, so the 3060 stays stable.

The fix is to keep more VRAM free on the AMD card: ./setup.sh --vram-reserve-mib 3072 (2048 may be enough on a 16 GB card; it's remembered for that model). It costs some experts in VRAM, a few % of speed, so the 7800 XT should still beat the 3060. 0.1.38 suggests this in setup and in the server window on a Linux desktop.

HIP is community-maintained and we can't test it on an AMD card ourselves, but it's not experimental in the sense of giving different answers. If it still crashes with the larger reserve, please reopen with the strata-<model>.log and journalctl -u systemd-oomd from around the crash.

<!-- gh-comment-id:5964033301 --> @Niko1221 commented on GitHub (Oct 3, 2026): What you saw on the RX 7800 XT is the same problem as #560 / #516. The expert cache fills the card, and when the desktop needs VRAM, the amdgpu driver moves GPU memory to system RAM, which the model's experts already use. systemd-oomd then kills apps, the desktop, or Strata. With CUDA the NVIDIA driver doesn't do that move, so the 3060 stays stable. The fix is to keep more VRAM free on the AMD card: `./setup.sh --vram-reserve-mib 3072` (2048 may be enough on a 16 GB card; it's remembered for that model). It costs some experts in VRAM, a few % of speed, so the 7800 XT should still beat the 3060. 0.1.38 suggests this in setup and in the server window on a Linux desktop. HIP is community-maintained and we can't test it on an AMD card ourselves, but it's not experimental in the sense of giving different answers. If it still crashes with the larger reserve, please reopen with the `strata-<model>.log` and `journalctl -u systemd-oomd` from around the crash.
Author
Owner

@blastbeng commented on GitHub (Oct 3, 2026):

Thank you!
I will try the new version with the flag to preserve some VRAM on the hip device like you suggested and report back!

Just a little more question, in past I was using Qwen3.8 27b on llama.cpp (llama-server) with mixed gpu setup Vulkan and CUDA. Is that setup planned for Strata or is it useless and Strata will only and always run on single GPU?

<!-- gh-comment-id:5966585573 --> @blastbeng commented on GitHub (Oct 3, 2026): Thank you! I will try the new version with the flag to preserve some VRAM on the hip device like you suggested and report back! Just a little more question, in past I was using Qwen3.8 27b on llama.cpp (llama-server) with mixed gpu setup Vulkan and CUDA. Is that setup planned for Strata or is it useless and Strata will only and always run on single GPU?
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#250
No description provided.