<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Streaming - 태그 - lee's blog</title><link>https://ken-0913.github.io/myblog/tags/streaming/</link><description>Streaming - 태그 - lee's blog</description><generator>Hugo -- gohugo.io</generator><language>ko-kr</language><managingEditor>hyeonjae0913@gmail.com (ken-0913)</managingEditor><webMaster>hyeonjae0913@gmail.com (ken-0913)</webMaster><lastBuildDate>Mon, 10 Aug 2026 21:00:00 +0900</lastBuildDate><atom:link href="https://ken-0913.github.io/myblog/tags/streaming/" rel="self" type="application/rss+xml"/><item><title>LLM 스터디 2주차 - 단일 모델 LLM 서빙 서버 직접 만들어보기</title><link>https://ken-0913.github.io/myblog/posts/llm/llm-serving-single-model-lab/</link><pubDate>Mon, 10 Aug 2026 21:00:00 +0900</pubDate><author><name>ken-0913</name></author><guid>https://ken-0913.github.io/myblog/posts/llm/llm-serving-single-model-lab/</guid><description><![CDATA[<div class="featured-image">
                <img src="images/banners/llm-serving-single-model-lab-e6f25d84.png" referrerpolicy="no-referrer">
            </div><p>LLM 서빙은 보통 vLLM이나 TGI 같은 프레임워크를 가져다 쓴다. 하지만 그 안에서 무슨 일이 벌어지는지는 직접 만들어봐야 감이 온다. 이번 실습은 <strong>배칭 · 스트리밍 · 프로세스 격리</strong>를 손으로 구현한 서버를 띄우고, 로그를 읽어 동작을 확인하는 과정이다.</p>
<p>대상 코드는 책 <em>Hands-On LLM Serving and Optimization</em>의 공식 저장소 <a href="https://github.com/orca3/llm-model-inference" target="_blank" rel="noopener noreferrer">orca3/llm-model-inference</a> 중 <code>ch03/single_model_llm_serving</code>이다. 모델은 <strong>facebook/opt-125m</strong>을 쓴다. 작아서 6GB GPU에서도 충분히 돌아간다.</p>
<p>이 글의 모든 로그와 명령 결과는 <strong>RTX 3050 6GB 리눅스 머신에서 실제로 실행한 것</strong>이다.</p>]]></description></item></channel></rss>