메뉴
BL
Wired AI • 28일 전

내 컴퓨터에서 챗봇 직접 실행하는 법

IMP
6/10
핵심 요약

ChatGPT 등을 구동하는 대규모 언어 모델(LLM)은 클라우드 없이 자신의 컴퓨터에서 직접 실행할 수 있다. 오프라인 사용과 높은 프라이버시, 구독료 없는 무료 활용이 장점이다. LM Studio, Ollama 등의 무료 도구와 Hugging Face의 모델을 활용하면 누구나 쉽게 로컬 AI 환경을 구축할 수 있다.

번역된 본문

ChatGPT와 Gemini 같은 AI 봇을 구동하는 대규모 언어 모델(LLM)이 세상을 바꾸고 있다는 말은 과장이 아닙니다. 많은 사람이 이미 코딩, 글쓰기, 요약, 웹 검색에 AI를 활용하고 있습니다. 앞으로 몇 년간 AI가 어느 방향으로 나아가든 LLM은 그 미래의 일부가 될 것입니다. ChatGPT, Claude, Perplexity 혹은 다른 AI 플랫폼을 사용하고 있다면, 당신은 이미 LLM을 사용하고 있는 셈입니다.

덜 알려진 사실은, 이런 LLM을 자신의 컴퓨터에서 로컬로 실행할 수 있다는 점입니다. 핵심 장점은 오프라인 접근성과 뛰어난 프라이버시입니다. 클라우드로 무언가를 보내 다른 사람이 분석하거나 검토할 일이 없기 때문입니다. 또한 AI 기업에 매달 구독료를 지불할 필요도 없고 사용량 제한에 걸릴 일도 없습니다. Meta와 Google 같은 유명 기업의 모델을 포함해 수많은 LLM을 무료로 내려받을 수 있습니다. 유료 앱 안의 LLM만큼 발전되거나 빠르지는 않은 경향이 있지만, 일상적인 용도로는 충분히 쓸 만하며 필요에 따라 골라 쓸 수 있습니다.

다만 관리 부담이 더 크고, ChatGPT 앱을 켜기만 하면 되는 편리함은 일부 잃게 됩니다. (예를 들어 업데이트를 스스로 처리해야 합니다.) 하지만 온전히 자신만의 개인화되고 프라이빗한 AI 시스템을 갖게 되며, 시작하기도 어렵지 않습니다.

시작하기 위해 필요한 것

로컬 LLM은 Windows, macOS, Linux에서 실행할 수 있지만, macOS가 대부분의 AI 애호가들에게 선호되는 플랫폼입니다. 맥은 Windows PC와 달리 제조사가 한 곳이라 모든 것이 더 통일되고 일관되며, 애플 실리콘 칩은 CPU, GPU, RAM을 하나로 결합해 두었는데 AI 모델이 이를 선호합니다.

어떤 플랫폼을 선택하든 RAM이 충분하면 도움이 됩니다. 최소 사양은 8GB이지만, 그 정도라면 실행할 수 있는 LLM의 크기와 속도에 다소 제한이 있습니다. 16GB면 더 좋고, 가장 크고 빠른 모델을 쓰려면 32GB 이상이 필요합니다. 최상의 결과를 위해서는 전용 GPU에 VRAM이 충분해야 하는데(8GB 이상이면 차이가 큽니다), 이런 메모리가 AI 모델이 수행하는 작업에 최적화되어 있기 때문입니다.

Windows 사용자라면 전용 Nvidia GPU가 큰 도움이 됩니다. 그래픽 칩이 표준 프로세서보다 AI 처리에 더 적합한데, 이것이 Nvidia와 AI 붐이 밀접하게 얽혀 있는 이유이기도 합니다. 전용 그래픽 카드에는 자체 RAM이 있어 AI 모델에 추가적인 '사고 공간'을 제공합니다. 따라서 로컬 LLM 실행을 위한 '최소 사양'은 없지만, RAM은 많을수록 좋고 별도 그래픽 카드가 있으면 확실히 유리합니다.

그다음으로는 모델을 실행할 소프트웨어(외부 인터페이스 역할)와 모델 자체가 필요합니다. 둘 다 선택지가 많아 필요에 따라 고르면 됩니다. 입문자에게는 LM Studio Bionic이 Windows와 macOS에서 최고의 AI 앱 선택지로 꼽히며, 무료로 사용할 수 있습니다. 그 외에 널리 신뢰받는 옵션으로는 vLLM, Llama.cpp, Ollama, GPT4All 등이 있으며, 역시 여러 운영체제에서 사용할 수 있습니다. 다만 이 프로그램들은 조금 더 기술적이고 손이 갑니다.

AI 앱을 정했다면 다음 결정은 LLM을 고르는 것입니다. 앞서 언급한 소프트웨어들이 적절한 옵션을 안내해 주며, 온라인 모델 저장소도 있습니다. 가장 유명한 곳은 Hugging Face로, 300만 개 이상의 모델이 있어 선택지가 매우 다양합니다.

로컬 LLM 설정 예시

로컬 LLM 구성 방법은 무수히 많지만, 여기서는 Windows에 LM Studio Bionic을 설치하는 과정을 단계별로 안내해 드리겠습니다. 웹사이트에서 설치 파일을 내려받아 LM Studio Bionic을 실행한 뒤, 'Create Project(프로젝트 만들기)'를 클릭해 시작하고 첫 프로젝트에 이름을 붙이면 됩니다.

원문 보기
원문 보기 (영어)
Comment Loader Save Story Save this story Comment Loader Save Story Save this story It's no exaggeration to say the large language models that power AI bots like ChatGPT and Gemini are changing the world. Many of us are now relying on them for coding, writing, summarizing, and searching the web. Whatever directions AI goes in over the next few years, LLMs will be part of that future. If you use ChatGPT, Claude, Perplexity, or any of the other AI platforms, then you're using an LLM. What's less commonly known is that these LLMs can be run locally, on your own computer. The key benefits are offline access and greater privacy, because you're not sending anything to the cloud for anyone else to analyze or review. You're also not paying any AI companies a monthly subscription or hitting any usage rates. Numerous LLMs are available to download for free, including from big names like Meta and Google. Though they tend not to be as advanced or as speedy as the LLMs inside the apps you have to pay for, they're capable enough for everyday use, and you can pick and choose between them as needed. There is more maintenance involved here, and you lose some of the convenience that comes with just loading up the ChatGPT app. (You'll need to handle updates yourself, for example.) However, you get a more personalized and private AI system all to yourself, and it's not difficult to get started. What You Need to Get Started You can run local LLMs on Windows , macOS , and Linux , though macOS tends to be the preferred platform for most AI enthusiasts. Everything is more unified and consistent on Macs—unlike Windows PCs, only one company makes them—and Apple Silicon chips combine the CPU, GPU, and RAM together, which AI models like. Whichever platform you go for, having plenty of RAM helps. The bare minimum is 8 GB, though if that’s all you’ve got, you'll be somewhat limited in terms of the size of the LLMs you can run and how fast they'll go. Sixteen gigs is better, and 32 or more is required if you want to use the biggest and fastest models. For the best results, you need plenty of VRAM on a dedicated GPU (anything above 8 GB will make a difference), as this type of memory is optimized for the kind of tasks AI models do. If you're on Windows, a dedicated Nvidia GPU helps a lot: Graphics chips are better for running AI processes than standard processors, which is partly why Nvidia and the AI boom are so closely interlinked . These dedicated graphics cards will also have their own RAM, which gives AI models extra thinking space. So while there's no “minimum spec” for running a local LLM, as much RAM as possible and a discrete graphics card will certainly help. You then need a piece of software to run the model (to act as the outer interface), plus the model itself. There are plenty of choices for both, so you can pick and choose as required. For those getting started, LM Studio Bionic is generally considered to be the best AI app choice on Windows and macOS, and it’s free to use. Other popular and trusted options include vLLM , Llama.cpp , Ollama , and GPT4All , which are again available for multiple operating systems. These pieces of software are a little more technical and involved, though. With an AI app chosen, the other decision is to settle on an LLM. The software programs we've mentioned will guide you toward some options, and there are also online repositories of models, the most well-known being Hugging Face (which has more than 3 million models available—quite the selection). An Example Local LLM Setup A whole host of setups are possible when it comes to local LLMs, but we'll take you step by step through the process of setting up LM Studio Bionic on Windows, to give you an idea of how it works. Once you've downloaded the installation file from the website and have LM Studio Bionic up and running, click Create Project to get started, and give your first project a name. A blank conversation window opens: If you click Choose a model in the prompt box, then Get local models , you'll be taken to the main model picker for LM Studio Bionic. Each of the available models is listed together with its size, its popularity, and a few details about it—keep an eye out for the staff picks if you want some recommendations to get started with. Smaller models won't be quite as capable, but they will download faster and take up less room on your system. Back in the chat interface, everything works similar to a standard AI chatbot app. In the prompt box at the bottom you can choose between your AI models (if you have more than one LLM installed), and on the left of the prompt box you've got a + (plus) icon for submitting images and files (if this is supported by the current model). On the left of the interface is the navigation pane, where you can switch between your projects. Via the Settings link (lower left) on the navigation pane you've got the preferences screen for LM Studio Bionic. There are a bunch of ways to customize the software here, from how deleted chats are handled to the interface elements onscreen. Click Library in Settings to manage your existing models or the Explore menu entry to find new ones. If you need support for images and documents, look for multimodal models. (Technically, these build on top of the capabilities of an LLM, though they often get called LLMs anyway.) The final part of the LM Studio interface that is important to know about is the right-hand sidebar, which can be shown or hidden via the button on the very top-right corner. These give you further options for managing files across projects and giving the program access to the file system on your computer, if needed.