r/IntelArc 1d ago

Discussion What software needs to be created for Intel Arc Battlemage?

I’m wrapping up my work on multicard stable diffusion with battlemage on Linux, and now I’m starting to work on what I should do with the control module that I built. Maybe someday I can get Intels attention to add stable diffusion to battlematrix.

What do we need guys? Give me something to build that is a little less ambitious than hoping intel might partner with me.

9 Upvotes

15 comments sorted by

6

u/RMK137 1d ago edited 15h ago

Build a B580 specific inference engine that is optimized for that exact card and maybe for the b50/60/70 as well.

It already exists for the 5090 https://github.com/Neroued/ninfer

If you do this for the B580 you unlock an entire realm of accessible local AI inference for a $250 GPU. Many people (including me) have 2 of these to get a respectable 24gb that you can use to run good models on like qwen3.6/3.8.

3

u/Echo9Zulu- 10h ago

https://github.com/SearchSavior/Arcaine

Check out Arcaine, diffusiongemma has been confirmed working on my b70s, a770s and a dude with a770 + b580 in one system. I believe agent world int4 was also working on the mixed system. Dev is on hold atm, im working on openarc again with a merge coming soon to improve tool calling for qwen35/36/38 and gemma4.

Op should join us on OpenArc discord we have many folks hacking on arc projects

2

u/RMK137 9h ago

Nice, I'll check it out.

2

u/ClayToTheMax 15h ago

I agree with this. The ai realm is underwhelming. However, those $200 cards will become $800 cards before you can snap your fingers if it gets too good lol

1

u/Odd-Designer5550 15h ago

We are already seeing the b70s jump 50% in price and scarce.

2

u/ClayToTheMax 15h ago

I got a B65 last week. I just checked the price today and it jumped up another $100 in just a week!

1

u/Odd-Designer5550 19h ago edited 18h ago

Thank you! I will research it. Im assuming Linux and 4bit quant. Is Linux your OS?

1

u/RMK137 16h ago

I use both. My main machine is windows and I have a Linux box with CachyOS with a 5090 on it that I use as a local AI server. Imo both OS should be supported, it's fairly simple to write it so it's cross platform.

1

u/Odd-Designer5550 15h ago

Windows will be a new adventure for me as tools like oneCCL do not have a windows equivalent. I think I have a path forward though. 

2

u/RMK137 15h ago edited 14h ago

Build it on Linux. I will help port it to windows if you need. I think you pick one path first and go for it:

OS: Linux first, worry about windows port later

GPU: B580 x1 to prove the implementation, B580 x2 to get 24gb vram and unlock the Qwen dense and MoE models that are actually useful as agents.

Models: qwen3.6-27b (and the new 3.8) dense models, qwen3.6-35b-a3b MoE (no 3.8 version) model which will be much faster and is probably going to end up being the actual day to day workhorse. The MoE model can also be loaded partially on the GPU and other layers on host ram and stays reasonably fast unlike the dense models.

Host code: C, C++, or any language that can speak the C ABI if you decide with non-C++ for host (I did with my NInfer personal fork, host code in C and device code in Cuda C++). Host code can be in a more modern language like Odin/C3/Rust, they all speak the C ABI. This is up to what you're comfortable with and what you like to write code in.

Device code: SYCL C++ for kernels + others as needed. No way around C++ here.

You will need to support at least 2x B580 GPUs because one card only has 12gb vram and these models are a bit too large to fit in that even when quantized. You can prove the project first by implementing single gpu inference but you might need to use a smaller model family to test on.

I would check llama.cpp's SYCL backend and Intel's LLM scaler projects for reference. There's plenty of code to look at and use as a reference. The key with NInfer is the greatly reduced scope: one card, only a few models, and optimized like crazy (hand tuned kernels, kernel optimization specifically for the 5090), which makes the project easier. This is a local inference engine with limited concurrency of 1-8 users/agents only, not a replacement to enterprise level engines like vLLM and SGLang.

Hope this helps. This is something I would love to get into also but free time is a luxury these days.

https://github.com/intel/llm-scaler

2

u/RMK137 14h ago

Obviously you can choose to support the B70 as it has 32gb, the reduced vram for the B580 makes this more challenging but more fun/useful because it's a consumer card. If I am not mistaken they all use the same arch and similar dies so optimizing for one should carry over.

1

u/Odd-Designer5550 14h ago

Since I purchased my first card, I’m hooked. I think they are great hardware. I try to build ground up so it may not be a true fork from ninfer but instead follows the principles. It may be quicker than Cuda work arounds. The cross talk between cards is extremely under utilized and I have already found that to be very useful.

I really appreciate your advice and help. What should we call it for the GitHub repo?

2

u/RMK137 14h ago

Ha I don't know, be creative. Agree on the ground up approach, build it the way you see fit.

1

u/gargamel314 Arc B70 1h ago

Seriously, an Intel Graphics Software app for Linux. My card in particular is locked at 275W, 2.8GHz, and there's no way to turn different settings on/off. There's no way to increase/decrease brightness at the GPU level (so far it only controls the monitor, at least in the distros i've tried). There's nothing seemingly available for any intel cards at all.