<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ai-infra · 얄루의 삽질 일지</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/tags/ai-infra/</link><description>인프라에서 시작해 AI·보안·해킹·클라우드·자격증까지, 직접 부딪히며 쌓아 올린 학습 기록</description><generator>Hugo</generator><language>ko-KR</language><lastBuildDate>Wed, 25 Nov 2026 02:58:38 +0900</lastBuildDate><atom:link href="https://yeomyaloo.github.io/yeomyaloo.github.io-infra/tags/ai-infra/index.xml" rel="self" type="application/rss+xml"/><item><title>Day 36. AI 인프라 개요 — LLM 서빙 스택과 GPU·VRAM 계산</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day36-ai-infra-overview/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day36-ai-infra-overview/</guid><description>LLM 서비스를 하드웨어 → 드라이버/런타임 → 서빙 엔진 → 게이트웨이 → 앱/RAG → 관측성 6개 층으로 나눠 설명할 수 있다. 토큰, 프리필(prefill)과 디코드(decode), KV 캐시가 무엇이고 왜 인프라 문제인지 안다.</description></item><item><title>Day 37. GPU 서버 준비 — NVIDIA 드라이버, CUDA, Container Toolkit</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day37-gpu-server/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day37-gpu-server/</guid><description>GPU를 컨테이너에서 쓰기 위한 3요소 — 드라이버 · CUDA · NVIDIA Container Toolkit — 가 각각 어디에 설치되는지 설명할 수 있다. Ubuntu 24.04에 ubuntu-drivers로 NVIDIA 드라이버를 설치하고 Secure Boot 문제를 피할 수 있다.</description></item><item><title>Day 38. Ollama로 로컬 LLM 띄우기 &amp; Open WebUI</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day38-ollama/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day38-ollama/</guid><description>Ollama가 서빙 스택(Day 36)에서 어떤 위치이고, vLLM과 무엇이 다른지 설명할 수 있다. Ollama를 Docker로 GPU 모드 / CPU 모드 각각 띄우고 모델을 pull · run 할 수 있다.</description></item><item><title>Day 39. vLLM으로 고성능 LLM 서빙 (OpenAI 호환 API)</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day39-vllm/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day39-vllm/</guid><description>Ollama와 vLLM이 누구를 위한 도구인지 구분하고 상황에 맞게 고를 수 있다. vLLM이 빠른 두 가지 이유, PagedAttention과 continuous batching을 그림으로 설명할 수 있다.</description></item><item><title>Day 40. LLM 게이트웨이 — LiteLLM으로 모델 통합·키·사용량 관리</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day40-llm-gateway/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day40-llm-gateway/</guid><description>모델 서버 앞에 게이트웨이가 왜 필요한지 설명할 수 있다. LiteLLM Proxy를 Docker Compose로 띄우고 Ollama·vLLM을 하나의 OpenAI 호환 엔드포인트로 묶을 수 있다.</description></item><item><title>Day 41. 임베딩과 벡터 DB — Qdrant / pgvector</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day41-embedding-vectordb/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day41-embedding-vectordb/</guid><description>임베딩이 무엇이고, 왜 키워드 검색 대신 의미 검색이 가능한지 설명할 수 있다. 코사인 유사도를 계산하고 해석할 수 있다. 한국어를 지원하는 임베딩 모델을 고르고 Ollama로 서빙할 수 있다.</description></item><item><title>Day 42. RAG 파이프라인 직접 만들기 (청킹·검색·생성)</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day42-rag-pipeline/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day42-rag-pipeline/</guid><description>RAG가 왜 필요한지, 파인튜닝·긴 컨텍스트와 무엇이 다른지 설명할 수 있다. RAG를 인덱싱 파이프라인과 질의 파이프라인 두 개로 나눠 그릴 수 있다. 헤더 기준 + 길이 기준 청킹, overlap, top-k 검색, 리랭킹의 역할을 안다.</description></item><item><title>Day 43. RAG 서비스 컨테이너화 &amp; Docker Compose 통합</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day43-rag-compose/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day43-rag-compose/</guid><description>Day 42의 RAG 앱을 멀티 스테이지 + non-root 이미지로 만든다. LLM·임베딩·Qdrant·RAG API·인덱서·프론트를 compose.yaml 하나로 묶는다. deploy.resources.reservations.devices로 컨테이너에 GPU를 예약하는 문법을 정확히 쓴다.</description></item><item><title>Day 44. Kubernetes에서 GPU 쓰기 — GPU Operator, 공유(Time-slicing/MIG)</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day44-k8s-gpu/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day44-k8s-gpu/</guid><description>Kubernetes가 GPU를 어떻게 알고, 어떻게 Pod에 나눠 주는지(device plugin → 확장 리소스 nvidia.com/gpu) 설명할 수 있다.</description></item><item><title>Day 45. Kubernetes에 LLM 서빙 배포 — vLLM, 모델 캐시, KServe</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day45-llm-on-k8s/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day45-llm-on-k8s/</guid><description>Day 39의 docker run vllm ... 한 줄을 Deployment + Service + PVC + Secret으로 옮길 수 있다. 모델 로딩이 수 분 걸리는 서버에 맞게 startupProbe / readinessProbe / livenessProbe를 설계할 수 있다.</description></item><item><title>Day 46. LLM 오토스케일링 — KEDA, 큐 기반 확장, Scale-to-zero</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day46-llm-autoscaling/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day46-llm-autoscaling/</guid><description>Day 18의 CPU 기반 HPA가 LLM 서빙에 맞지 않는 이유를 지표로 설명할 수 있다. KEDA를 Helm으로 설치하고, ScaledObject가 HPA를 만들어 움직이는 구조를 안다.</description></item><item><title>Day 47. LLM 관측성 — TTFT·토큰 처리량·KV 캐시 모니터링, 트레이싱</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day47-llm-observability/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day47-llm-observability/</guid><description>LLM 서빙에서만 쓰는 지표(TTFT, TPOT/ITL, tokens/s, 대기 요청 수, KV 캐시 사용률)가 각각 무엇을 재는지 설명할 수 있다. vLLM의 /metrics와 DCGM exporter를 ServiceMonitor로 수집하고(Day 17), PromQL로 Grafana 패널을 만든다.</description></item><item><title>Day 48. LLM 보안·가드레일·RAG 평가</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day48-llm-security-eval/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day48-llm-security-eval/</guid><description>OWASP Top 10 for LLM Applications 2026의 10개 위험을 우리 RAG 챗봇에 대입해 설명할 수 있다. 직접·간접 프롬프트 인젝션(RAG 문서에 숨은 지시)이 어떻게 일어나고 어디서 막는지 안다.</description></item><item><title>Day 49. 종합 — 홈랩 K8s에 사내 문서 RAG 챗봇 운영하기</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day49-capstone-rag-chatbot/</link><pubDate>Sun, 15 Nov 2026 03:14:35 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/day49-capstone-rag-chatbot/</guid><description>Day 36~48에서 만든 부품(GPU Operator, vLLM, 임베딩, Qdrant, rag-api, LiteLLM, Open WebUI, 모니터링, 보안)을 하나의 서비스로 조립한다. 매니페스트·Helm values를 디렉터리 하나에 정리하고, 배포 순서대로 검증하며 올린다.</description></item><item><title>RAG 심화 01. RAG 평가 — Ragas로 내 챗봇 점수 매기고 개선 루프 돌리기</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag01-evaluation-ragas/</link><pubDate>Wed, 25 Nov 2026 02:58:38 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag01-evaluation-ragas/</guid><description>질문 유형 분포, 정답 문맥 라벨, dev/test 분리를 갖춘 골든 데이터셋을 설계한다. Ragas로 합성 질문 후보를 만들고, 사람이 검수해 골든 셋에 넣는 흐름을 익힌다.</description></item><item><title>RAG 심화 02. 검색 품질 올리기 — 하이브리드 검색, 리랭커, 청킹 전략</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag02-retrieval-quality/</link><pubDate>Wed, 25 Nov 2026 02:58:38 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag02-retrieval-quality/</guid><description>BM25(희소)와 벡터(밀집) 검색이 각각 어떤 질문에서 이기고 지는지 설명할 수 있다. 한국어 BM25에서 형태소 토크나이저가 왜 필요한지 알고, Kiwi로 직접 토큰을 만든다.</description></item><item><title>RAG 심화 03. 이 블로그를 지식 베이스로 쓰는 문서 검색 챗봇</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag03-blog-docs-chatbot/</link><pubDate>Wed, 25 Nov 2026 02:58:38 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag03-blog-docs-chatbot/</guid><description>블로그 원본 레포(infra) 마크다운 약 200편에서 탭·시리즈·편 번호·제목·블로그 URL 메타데이터를 뽑아 색인한다. Qdrant payload 인덱스와 필터로 "AI 탭에서만", "해킹 트랙 21~28편에서만" 같은 범위 검색을 한다.</description></item><item><title>RAG 심화 04. 최신 기법 개요 — Agentic RAG, GraphRAG, 멀티 쿼리·HyDE: 언제 쓰나</title><link>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag04-advanced-rag-techniques/</link><pubDate>Wed, 25 Nov 2026 02:58:38 +0900</pubDate><guid>https://yeomyaloo.github.io/yeomyaloo.github.io-infra/06-ai-infra/rag04-advanced-rag-techniques/</guid><description>RAG 개선 기법을 "유행 순서"가 아니라 파이프라인의 어느 단계를 고치는가로 분류할 수 있다. query rewriting, multi-query, HyDE, self-query, contextual retrieval, late chunking의 원리·효과·비용·실패 모드를 말할 수 있다.</description></item></channel></rss>