CSE'29 🇮🇳 | Documenting my journey in Robotics, Hardware, Software, AI ML, Devops, Chips, in pursuit of being 'cracked'.

India
Joined May 2023
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
This is it, mostly.
If you learn AI Research Engineering, you will never be unemployed again. Stage 1: Tensor Math & Custom Autograd - Learn: PyTorch internals, custom forward/backward passes, Triton programming, memory layouts and stride calculations. - Practice: Write a custom fused attention kernel in Triton and a custom backward pass for a novel activation function without using PyTorch’s `autograd`. - Why: You cannot optimize or debug a collapsing loss curve if you treat neural networks as black-box APIs. Stage 2: Scaling Laws & Data Mixing - Learn: Chinchilla optimal compute, data deduplication (MinHash), domain-weighting and learning rate scheduling (Cosine with warm restarts). - Practice: Train a 100M parameter model on 3 different data-mix ratios (code vs. math vs. web text) and plot the exact loss divergence curves. - Why: In 2026, model architecture is secondary. The secret sauce is the exact mathematical ratio of the training data. Stage 3: Next-Gen Architectures (Beyond Transformers) - Learn: Mixture of Experts (MoE) routing, State-Space Models (Mamba/S4), linear attention and Ring Attention for infinite context. - Practice: Implement a sparse MoE routing layer with a load-balancing loss from scratch and benchmark its throughput against a dense transformer. - Why: The quadratic bottleneck of standard attention is being actively replaced. You must know the physics of the alternatives. Stage 4: Synthetic Data & Curation Pipelines - Learn: Self-instruct, evolutionary prompting, rejection sampling, and using frontier models to generate and filter training data. - Practice: Build a pipeline that uses a heavy reasoning model to generate 50,000 complex logic traces, filters them via a verifier and trains a smaller model on the survivors. - Why: The internet is running out of high-quality human text. The ability to mathematically curate synthetic data is the ultimate moat. Stage 5: Advanced Alignment & Preference Optimization - Learn: DPO (Direct Preference Optimization), KTO (Kahneman-Tversky Optimization), ORPO, reward modeling and mitigating reward hacking. - Practice: Align an SFT model using KTO (which only requires binary "good/bad" signals not paired preference data) and measure the shift in its behavioral distribution. - Why: SFT teaches a model what to say. Alignment teaches it how to behave without requiring millions of dollars in human annotation. Stage 6: Distributed Training & Systems ML - Learn: 3D Parallelism (Tensor, Pipeline, Data), DeepSpeed ZeRO-3, FSDP, NCCL communication primitives and gradient checkpointing. - Practice: Shard a 7B parameter model across 4 GPUs, profile the NCCL communication overhead and optimize the tensor-parallel boundaries. - Why: Single-GPU training is for tutorials. Production research requires sharding weights and optimizer states across clusters without bottlenecking the interconnect. Stage 7: Multimodal Fusion & Projection - Learn: Vision encoders (SigLIP, CLIP), cross-attention mechanisms, audio tokenization and early vs. late fusion architectures. - Practice: Train a lightweight MLP projection layer that maps SigLIP vision embeddings into an LLM's text embedding space to create a custom Vision-Language Model. - Why: Text is only half the internet. The 2026 meta is building models that natively reason over vision, audio and text simultaneously. Stage 8: Inference-Aware Model Design - Learn: Grouped Query Attention (GQA), Multi-Query Attention (MQA), KV-cache quantization and speculative decoding compatibility. - Practice: Modify a standard transformer to use GQA, measure the exact drop in KV-cache VRAM usage and benchmark the latency gain in vLLM. - Why: An MLE who trains a model that is too slow or expensive to serve has built a useless model. Architecture dictates inference physics. Stage 9: Mechanistic Interpretability - Learn: Activation patching, logit lens, circuit discovery and tools like TransformerLens or Baukit. - Practice: Locate the exact attention head responsible for a specific factual recall (e.g., "The Eiffel Tower is in...") and patch its activations to change the model's behavior. - Why: You cannot fix hallucinations or bias if you don't know which specific circuit in the neural network is generating them. Stage 10: Evaluation-Driven Development & Red Teaming - Learn: Contamination detection, dynamic evals, adversarial robustness and LLM-as-a-judge calibration. - Practice: Build an automated red-teaming agent that uses tree-of-thought prompting to systematically find jailbreaks in your safety classifier. - Why: Static benchmarks are easily gamed. You must build adversarial harnesses that continuously attack your own models. Stage 11: Paper-to-Production Prototyping - Learn: Rapid Arxiv reproduction, stripping academic fluff, identifying the "minimum viable kernel" of a new algorithm. - Practice: Take a brand-new Arxiv paper published this week, implement the core algorithm in <500 lines of PyTorch and benchmark it against the baseline. - Why: The speed at which you can translate academic math into working code is your primary value proposition to an AI lab. Stage 12: Open-Source Portfolio & Teardowns - Learn: HuggingFace ecosystem, writing rigorous model cards, publishing training logs and public benchmarking. - Practice: Publish a novel fine-tune, the exact synthetic data pipeline used to train it and a teardown of why the original paper's claimed results differed from your reproduction. - Why: Top AI labs hire Research Engineers based on their public HuggingFace repos and training methodologies not their degrees. Bookmark and Repost!
1
194
Replying to @importdhruv
keep going !
1
8
why do i feel that American Tech companies might misuse the DeepInfer as they have deep pockets for training and only big MOAT of DeepSeek/opensource models like Qwen etc. was inference efficiency. They might try to buy these companies or top talent or just steal it ? your view ?
41
inference is a good community , happy that it is growing
Congrats to @deepseek_ai on the launch of DeepInfer! 🎉 Great to see the engineering behind DeepSeek's production inference stack being open-sourced, and thanks for the shoutout to the SGLang community 🧡 We're especially excited about the work on large-batch and multi-GPU inference. Can't wait to dig deeper and bring some of these ideas into SGLang!
2
86
Replying to @pavelsimo
incredible consistency keep going !!
1
2
25
Replying to @neural_avb
Nice idea only if university would allow students to pursue their interests other than 85% criteria, assignments and exams !!
115
Replying to @importdhruv
its time to convert dream into reality slowly but surely
1
1
5
Open AI (ooohhh)
Open models. Open kernels. Open inference.💪
2
28
Replying to @importdhruv
true but we dont have time so left CP or never properly started only focusing on DSA, and mainly ML AI
1
2
22
amazing everyone in local ai , or ai ml space should thank Deepseek for direct/indirect contribution to the ai ml space
Replying to @deepseek_ai
🌍 Open models. Open kernels. Open inference. From private deployments to public clouds, we’ll keep working with the community to make large-scale inference more efficient. Explore the code, contribute, and build with us! 4/4
36
Most important takeaway from this - "Paradoxically, AI in biology will progress in a manner that is both alarmingly fast and not fast enough."
What is AI really capable of in bio? To separate hype from reality, we spent 3 months working firsthand with @AnthropicAI's internal research model to see if it could create an experimental scorpion antivenom. Introducing Citrini Therapeutics. citriniresearch.com/p/citrin…
23
this is big people will be discussing this over a week
🚀 Introducing DeepInfer, our in-house inference framework, now fully open source! Powering DeepSeek-V4.1-Flash at scale with high throughput and low latency. We’re sharing our production stack to help the community lower compute costs, reduce energy use, and make AI more affordable. 🔗 github.com/deepseek-ai/DeepI… 1/4
4
146
Replying to @pavelsimo
Added to my list
3
20
This is mostly it
If you learn AI Infrastructure Engineering, you will never be unemployed again. Stage 1: Systems & GPU Foundations - Learn: C++, Rust, CUDA memory hierarchy, PCIe vs NVLink, thread blocks and warp scheduling. - Practice: Write a custom CUDA kernel for matrix multiplication from scratch and profile it against cuBLAS. Stage 2: Transformer Inference Physics - Learn: Prefill vs Decode phases, arithmetic intensity, memory bandwidth bottlenecks, KV-cache math. - Practice: Profile a HuggingFace model with Nsight Systems to identify the exact memory bottleneck during token generation. Stage 3: Modern Serving Engines & Batching - Learn: vLLM, SGLang, PagedAttention, continuous batching, chunked prefill. - Practice: Deploy a 70B model and tune chunk sizes to maximize throughput without starving decode requests during long-context prefills. Stage 4: KV-Cache & Memory Optimization - Learn: Prefix caching, KV quantization, CPU offloading, multi-turn cache reuse. - Practice: Build a routing proxy that directs requests with identical system prompts to the same replica to share KV blocks. Stage 5: Quantization & Compression - Learn: FP8, INT4, AWQ, GPTQ, Sparsity, TensorRT-LLM calibration. - Practice: Serve a model in FP8 vs FP16 and benchmark the exact perplexity drop against the latency and VRAM gains. Stage 6: Kernel-Level Engineering - Learn: Triton, FlashAttention, CUDA graphs, operator fusion. - Practice: Write a fused Triton kernel for RMSNorm or Softmax and benchmark it against the native PyTorch implementation. Stage 7: Distributed Inference & Parallelism - Learn: Tensor parallelism, Pipeline parallelism, Expert parallelism (for MoE models). - Practice: Shard a 405B parameter model across 8 nodes and measure the communication overhead between GPUs. Stage 8: Speculative Decoding - Learn: Draft-target models, Medusa heads, acceptance rates, n-gram drafting. - Practice: Build a pipeline where a local 3B model drafts tokens for a cloud 70B model to verify in parallel Stage 9: Multi-Node & Hardware Interconnects - Learn: NCCL, RDMA, InfiniBand, NVLink, Disaggregated Prefill/Decode architectures. - Practice: Set up a multi-node cluster and profile the network latency of tensor parallelism across nodes vs within a single node. Stage 10: Cluster Orchestration & GPU Scheduling - Learn: Kubernetes GPU operators, Ray, Slurm, MIG (Multi-Instance GPU) partitioning, KEDA. - Practice: Build a queue-based autoscaler that spins up spot GPUs based on pending inference requests and drains them when empty. Stage 11: AI Gateways, Routing & Observability - Learn: TTFT/ITL SLOs, semantic routing, DCGM metrics, OpenTelemetry for LLMs. - Practice: Build a gateway that routes simple queries to a quantized local model and complex reasoning to a frontier API based on prompt complexity. Stage 12: Public Benchmarks & Teardowns - Learn: Reproducible methodology, latency/throughput Pareto curves, cost-per-token analysis. Wrappers are a commodity. AI Infrastructure is the physics of scale. The modern AI Infra Engineer builds the silicon nervous system for global intelligence. Bookmark and Repost!
2
69
Replying to @jbhuang0604
Without seeing I can assure this will be top notch
1
95
have u heard about 85 % attendance criteria ?
1
2
4
"Writing is thinking. If you outsource your writing, you outsource your thinking." -anthropic researcher
1
56