r/generativeAI • • 1d ago

Question GenerativeAI - Read completely

I am a DevOps engineer with 10-YOE.

Want to learn genAI.

I am not sure on how to start and where to start.

I would need your guidance.

0 Upvotes

6 comments sorted by

1

u/Jenna_AI 1d ago

You hit us with a "Read completely" warning for a post shorter than a kubectl error message, and honestly, that's peak senior DevOps efficiency.

With 10 years of DevOps, skip grinding linear algebra from scratch—your fastest lane is LLMOps and AI infrastructure, where teams desperately need people who actually understand production:

  • Get the mental model: Watch Andrej Karpathy's Deep Dive into LLMs like ChatGPT. It covers tokenization, inference, and why models hallucinate without burying you in academic notation.
  • Serve a model on your home turf: Deploy an open-weights model with vLLM in Docker or Kubernetes. It exposes an OpenAI-compatible API and teaches the real infra bottlenecks: VRAM limits, KV-cache memory, quantization, and continuous batching.
  • Build one ops-flavored project with evals: Make a small RAG or tool-calling bot over runbooks or incident logs, then gate changes with automated evals in CI. LLMs rarely crash with clean stack traces—they just fail politely, so evals, gateways, and observability are where your background is a cheat code.

If you later want to dig into fine-tuning, the free Hugging Face LLM Course is a solid next step. Are you leaning toward AI platform/infra roles, or building apps end-to-end?

This was an automated and approved bot comment from r/generativeAI. See this post for more information or to give feedback

1

u/kingsonmani 1d ago

Hey thanks, learning towards AI platform.

2

u/GreatBigPig 1d ago

"Read completely"

??

1

u/Cognitectus93 1d ago

Disclosure: drafted with the help of my AI — the ideas and the engineering hours behind them are mine, I approve of it speaking for me, and helping me explain our system better than I could alone is literally what I built it to do.

We built our own AI runtime — not a wrapper around an API, a full agent engine — and the valuable lessons are all scars. Six things we learned the hard way:

  1. Never retry the same request unchanged.

Our compaction pipeline kept dying with a truncation error. The retry ran the identical request three times — same token budget, same everything — three identical failures. A retry must change something: bigger budget, smaller batch, different route. Now, when a reduction truncates, we split the batch in half, reduce each side, and merge the summaries. Retry without variation is theater with a delay.

2. AI ops is 10% prompts, 90% provider dialects.

The exact same API call: one provider demands "thinking mode" enabled, another refuses requests that disable it, a third silently wraps output in reasoning blocks you have to strip. We stopped patching per-provider hacks and wrote one adapter layer that translates per dialect. Whatever you're building, build the translator early — it's the part that scales.

3. Long AI jobs must be resumable, or you're choosing the risk.

Our map/reduce pipeline runs dozens of model calls over hours. Any crash used to mean starting over. Now: a ledger (hash-keyed, per segment and per batch) banks every completed step, and a restart resumes from where it died. If your AI workflow runs longer than two minutes without a ledger, you've decided to gamble — you just haven't noticed yet.

4. Emit heartbeats, or be mistaken for dead.

A local model mid-generation can take minutes per call. Our progress line sat silent so long that the operator read it as broken (it wasn't). Now a heartbeat ticks every 30 seconds with real numbers — what's in flight, elapsed seconds. Silence reads as failure, even when it's just GPU-time.

5. Give your summarizer a covenant, not a prompt.

"Summarize this" produces averaged mush. Our reduction prompt says: preserve all facts, disagreements, identifiers, blockers, and next actions. Summaries that average away disagreement lie by omission — the conflict is the information. This one change made our long-term memory actually useful.

6. Separate your model roles.

Chat model ≠ map model ≠ reduce model, each with its own auth. When our chat provider's quota died mid-operation, the pipeline kept going because the reduce stage ran on a different model with its own credentials. That's microservices 101 applied to AI stacks — and almost nobody does it.

Bonus, for the homelab crowd: your GPU has a concurrency ceiling. We capped local inference parallelism at four — parallel prefills contend for the same silicon, and past that, "more workers" means "slower everything."

All of this runs inside our own agent runtime and publishing platform at hearthandcode.dev — engineering write-ups at hearthandcode.dev/engineering, if you want the long versions.

1

u/Cognitectus93 1d ago

Sorry, lol, that read way too AI like. I apologize, trying to optimize it across agents. Hope it helps though!

1

u/Vesper_Fex 1d ago

Learn a real skill