Adédọ̀tun𓂀 (@adedxtun) header
Adédọ̀tun𓂀 (@adedxtun) profile picture

Chasing Redemption

In a server near you
Joined February 2020
Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)Photo by Adédọ̀tun𓂀 (@adedxtun)
Picked up Inference Engineering because I think it's a powerful intersection of the things I enjoy and it's going to be in any and everything. I'd keep sharing the things I'm learning on this thread.
2
2
151
Adédọ̀tun𓂀 retweeted
This best summarized the ideal internal resolve of a man. Listen.
184
5,963
766
27,128
2,425,865
What fits? Desktops can run larger models, especially when quantized. Phones are better suited to smaller tasks such as transcription, speech, or translation. The chapter’s conclusion is a hybrid approach: run small, quick tasks locally and send demanding work to datacenter GPUs
9
What limits it? Personal devices have less compute, plus heat and battery constraints. Supporting many different devices is also harder.
1
9
Why do it? There’s no network delay, it can work offline, user data can stay on the device, and the developer avoids cloud GPU cost for those requests.
1
7
Local Inference Local Inference is about running inference on the user’s own device a desktop, laptop, or phone instead of sending every request to a server.
1
9
Multi-Instance GPU (MIG) splits a large GPU into smaller, isolated portions, helping avoid wasted capacity.
1
8
Large models may need multiple GPUs. NVLink and NVSwitch provide fast communication within a GPU node. Communication between nodes is slower, so the connection your cloud provider supplies matters. Small models may need less than one GPU.
1
11
Instance An instance is more than a GPU. It also has a CPU, RAM, storage, networking, and connections to other GPUs. Any of these can limit inference, so check the full instance specification.
1
5
SRAM is smaller and faster, and powers the caches: L0 holds instructions near a Tensor Core, L1 serves each GPU multiprocessor, and L2 is shared across them. Caches keep useful information close to compute.
1
10
Memory and Cache A GPU has two main kinds of memory. DRAM is the large pool called VRAM, where model weights and the KV cache live. VRAM capacity decides what fits, while bandwidth affects how fast the GPU can read data during token generation.
1
11
LLM prefill and image/video generation are generally compute-bound. Prefill processes the prompt in parallel; image and video models repeatedly process the generated content. Both involve a lot of matrix math.
1
9
Sparse means the matrix has zeros in a pattern the hardware recognizes, so it can skip work. For example: [2, 0, 7, 0] · [a, b, c, d] = 2a + 7c
1
9
• Sparse: In tensors with 2:4 structured sparsity, where 50 percent of the values are 0, Tensor Cores can skip multiplication by 0. Dense means the Tensor Core calculates with every value in a matrix, including any zeros it encounters.
1
14
However, when you read a spec sheet, you’ll see two measurements for Tensor Core compute: • Dense: The raw floating-point operations per second if every element of the tensor is used.
1
13
Compute is measured in FLOPS (floating point operations per second) and datacenter GPUs are capable of trillions or quadrillions of FLOPS(teraFLOPS and petaFLOPS, respectively).
1
11
Tensor cores are responsible for matrix multiply and accumulate(MMA) instructions which are fundamental for inference. CUDA cores handle other arithmetic, while SFUs help with functions used in operations such as softmax.
1
13
2. Tensor core 3. Special Function Unit (SFU) CUDA core: Operates on individual numbers (scalar) Tensor core: operates on vector and matrices SFU: accelerates certain mathematical operations like sin, cos and log In inference, GPU compute are measured in terms of tensor core
1
20
Compute is the GPU’s ability to do math. In inference, much of that math is matrix multiplication, which the GPU’s Tensor Cores are built to perform. Compute capacity is commonly measured in FLOPS: floating-point operations per second. The 3 types of compute in GPU 1. CUDA core
1
50
Chapter 3 - Hardware (Philip Kiely’s Inference Engineering) GPUs are throughput designed simply for massive parallel workloads. Model inference involves a lot of matrix multiplication, so the hardware matches the work.
1
3
122
Adédọ̀tun𓂀 retweeted
As a scalper, I want to trade the setup I’m looking at without opening a sidebar to enter my position size. That’s what we’ve built on Furge. Add a long or short drawing, drag it to adjust your risk, and size your position directly on the chart. The small popover gives you the controls: amount, leverage and which exchange to trade on. Hit “Trade” and the order goes through. No extra confirmation step. From setup to execution, right on the chart.
1
3
1
8
587