Earlier quoted context omitted.
I don’t think that’s true anymore. I routinely find 4K/27” monitors for under $100 on Craigslist, and a 3080-equivalent is still good enough to play most games on med-high settings at 4K and ~90Hz, especially if DLSS is available.
Your hypothetical person has a 3080 but needs to crawl craigslist for a sub-100$ monitor? U guess those people exist, but idk why you'd bother with a 3080 to then buy a low refreh rate, high input latency, probably TN, low color accuracy craigslist runoff. Could just get a 3060 and a nice 1440p monitor.
Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
481–490 of 722 posts
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#482Earlier quoted context omitted.
These are $200 low end cards, the B5X0 cards. Presumably they have B7X0 and perhaps even B9X0 cards in the pipeline as well.
> These are $200 low end cards Hm, i wouldn't consider 200$ low end.
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#483Earlier quoted context omitted.
Intel Arc hardware is manufactured by TSMC, specifically on N6 and N5 for this latest announcement. Intel doesn't currently have nodes competitive with TSMC or excess capacity in their better processes.
Serious question, why don't they have excess capacity? They aren't producing many CPUs...that people want.
They don't even have competitive capacity for all their CPU needs. They have negative spare capacity overall.
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#484Earlier quoted context omitted.
> It's possible you're underestimating the open source community. On the contrary. You really don't know how I love and prefer open source and love a more leveling playing field. > If there's a competing platform that hobbyists can tinker with... AMD's cards are better from hardware and software architecture standpoint, but the performance is not there yet. Plus, ROCm libraries are not that mature, but they're gettin…
You're writing as if AMD cares about open source. If they would only actually open source their driver the community would have made their cards better than nvidia ones long ago. I'm one of those academics. You've got it all wrong. So many people care about open source. So many people carefully release their code and make everything reproducible. We desperately just want AMD to open up. They just refuse. There's noth…
Software wise, maybe. But you can't change AMD's hardware with a magic wand, and that's where a lot of CUDA's optimizations come from. AMD's GPU architecture is optimized for raster compute, and it's been that way for decades.
I can assure you that AMD does not have a magic button to press that would make their systems competitive for AI. If that was possible it would have been done years ago, with or without their consent. The problem is deeper and extends to design decisions and disagreement over the complexity of GPU designs. If you compare AMD's cards to Nvidia on "fair ground" (eg. no CUDA, only OpenCL) the GPGPU performance still leans in Nvidia's favor.
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#485Earlier quoted context omitted.
It is open and they regularly merge PRs. https://github.com/ROCm/ROCm/pulls?q=is%3Apr+is%3Aclosed
AMD GPUs aren't very attractive to ML folks because they don't outshine Nvidia in any single aspect. Blasting lots of RAM onto a GPU would make it attractive immediately with lots of attention from devs occupied with more interesting things.
For local inference, 7900 XTX has 24 GB of VRAM for less than $1000.
At what threshold of VRAM would you start being interested in MI?
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#486Earlier quoted context omitted.
Apple could do it. Why can’t Intel?
Because LPDDR5x is soldered on RAM. Everyone else wants configurable RAM that scales both down (to 16GB) and up (to 2TB), to cover smaller laptops and bigger servers. GPUs with soldered on RAM has 500GB/sec bandwidths, far in excess of Apples chips. So the 8GB or 16GB offered by NVidia or AMD is just far superior at vid o game graphics (where textures are the priority)
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#487Why don't they just release a basic GPU with 128GB RAM and eat NVidia's local generative AI lunch? The networking effect of all devs porting their LLMs etc. to that card would instantly put them as a major CUDA threat. But beancounters running the company would never get such an idea...
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#488Earlier quoted context omitted.
All of that is highly relevant for training but what the poster was asking for is a desktop inference card.
You use at least half of this stack for desktop setups. You need copying daemons, the ecosystem support (docker-nvidia, etc.), some of the libraries, etc. even when you're on a single system. If you're doing inference on a server; MIG comes into play. If you're doing inference on a larger cloud, GPU-direct storage comes into play. It's all modular.
See the precompute_input_logits() and forward() functions here:
https://github.com/ryao/llama3.c/blob/master/run.c#L520
As a preface, precompute_input_logits() is really just a generalized version of the forward() function that can operate on multiple input tokens at a time to do faster input processing, although it can be used in place of the forward() function for output generation just by passing only a single token at a time.
Also, my apologies for the code being a bit messy. matrix_multiply() and batched_matrix_multiply() are wrappers for GEMM, which I ended up having to use directly anyway when I needed to do strided access. Then matmul() is a wrapper for GEMV, which is really just a special case of GEMM. This is a work in progress personal R&D project that is based on prior work others did (as it spared me from having to do the legwork to implement the less interesting parts of inferencing), so it is not meant to be pretty.
Anyway, my purpose in providing that link is to show what is needed to do inferencing (on llama 3). You have a bunch of matrix weights, plus a lookup table for vectors that represent tokens, in memory. Then your operations are:
* memcpy()
* memset()
* GEMM (GEMV is a special case of GEMM)
* sinf()
* cosf()
* expf()
* sqrtf()
* rmsnorm (see the C function for the definition)
* softmax (see the C function for the definition)
* Addition, subtraction, multiplication and division.
I specify rmsnorm and softmax for completeness, but they can be implemented in terms of the other operations.If you can do those, you can do inferencing. You don’t really need very specialized things. Over 95% of time will be spent in GEMM too.
My next steps likely will be to figure out how to implement fast GEMM kernels on my CPU. While my own SGEMV code outperforms the Intel MKL SGEMV code on my CPU (Ryzen 7 5800X where 1 core can use all memory bandwidth), my initial attempts at implementing SGEMM have not fared quite so well, but I will likely figure it out eventually. After I do, I can try adapting this to FP16 and then memory usage will finally be low enough that I can port it to a GPU with 24GB of VRAM. That would enable me to do what I say is possible rather than just saying it as I do here.
By the way, the llama.cpp project has already figured all of this out and has things running on both GPUs and CPUs using just about every major quantization. I am rolling my own to teach myself how things work. By happy coincidence, I am somehow outperforming llama.cpp in prompt processing on my CPU but sadly, the secrets of how I am doing it are in Intel’s proprietary cblas_sgemm_batch() function. However, since I know it is possible for the hardware to perform like that, I can keep trying ideas for my own implementation until I get something that performs at the same level or better.
Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#489Re: Intel announces Arc B-series "Battlemage" discrete graphics with Linux support
#490Earlier quoted context omitted.
They spent billions at TSMC making Alchemist dies that sat in a warehouse for a year or two as they tried to fix the drivers.
that's a dumb management "cart before the horse" problem. I understand a few bugs in the driver but they really should have gotten the driver working decently well before production. Would have even given them more time tweaking the GPU. This is exactly why Intel is failing and will continue to fail with that type of management