Home Technology peripherals AI To pay tribute to TempleOS, a developer has created an operating system to launch Llama 2. Netizen: An old computer with 8G memory can run it

To pay tribute to TempleOS, a developer has created an operating system to launch Llama 2. Netizen: An old computer with 8G memory can run it

Oct 07, 2023 pm 10:09 PM
industry llama 2 llama 2 everywhere llama2.c andrej karpathy

I have to say that Llama 2’s “second creation” projects are becoming more and more hardcore and interesting.

Since Meta released the open source large model Llama 2, there have been more "secondary" projects surrounding the model.

In July this year, Andrej Karpathy, the former AI director of Tesla and returning to OpenAI, used his weekend time to make an interesting project llama2.c about Llama 2, allowing The user trains a baby Llama 2 model in PyTorch, and then uses nearly 500 lines of pure C files without any dependencies for inference.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

Today, based on the Karpathy llama2.c project, another developer created a demo operating system to start Llama 2, and a user-mode assistant to call Llama 2 Kernel module for inference. The project is called Llama 2 Everywhere, or L2E for short.

However, the author also stated that the current system requirements are 512MB RAM and x86_64 (64-bit) PC, and the usability needs to be improved.

At the same time, this project also hides some Easter eggs, such as the "Doom" game, but you must solve puzzles to find it.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑Project address: https://github.com/trholding/llama2.c

Andrej Karpathy also forwarded this new project, saying that it has "independent operation, binary, portable and bootable" features. He expects his llama2.c project to be a success, and this new project expands the imagination.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

#L2E has been recognized by netizens from all walks of life. Some people said that this is really great. Basically it can be started on any old laptop and can be run on just the CPU, 8G of RAM is enough, 16G is better.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

Some people feel that the project is very similar to TempleOS, an operating system developed for God (it was developed alone by the late genius programmer Terry Davis), but the project author said that he is just interested in Tribute to Terry and TempleOS.

L2E built an operating system using just the Linux kernel and some knowledge, a world of difference from the one Terry built from scratch.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

Next, let’s learn about the original intention, demo and features of the L2E project.

L2E project introduction

The project author stated that L2E aims to ensure that it Compatibility on various devices, such as launching on Chromebooks and deploying on enterprise high-density unikernels.

In the future, this project has the potential to unlock capabilities beyond a single large-scale LLM by leveraging a large number of networked, distributed, and self-coordinating small-scale specialized LLMs with modest hardware requirements. The wisdom of crowds.

Currently, a notable use case for L2E is training small-scale models on different text sources, including textbooks, open books, and the SlimPajama corpus. These trained models are deployed using L2E to run as bootable instances on older, outdated school computers. This deployment option can be valuable in school libraries or classrooms where Internet connectivity is limited or unavailable.

The ultimate goal of the project is to create an inclusive AI ecosystem that can adapt to diverse environments and empower individuals and communities on a global scale.

Additionally by training with various hardware telemetry data, it is hoped that the model will learn to interpret sensor inputs and control actuators based on the insights gathered from the sensor inputs. This research direction is likely to play a role in areas such as automation, space, robotics and the Internet of Things, and L2E will play a key role in bridging the gap between AI and physical systems.

L2E Demo Show

The project author shows some examples of starting Llama 2.

The following is the L2E operating system of the Linux kernel. Now you can actually start and infer the Llama 2 model on the computer.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

In addition, you can do cat /dev/llama and echo commands such as "Sudo make me a sandwich!" > /dev/llama , or pass a kernel parameter l2e.quest="What is the meaning of life?".

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

#Finally, it is possible to launch and infer a set of 1000 Virtual Baby Llama 2 models on a large enterprise server.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

L2E is highly portable and can run a single executable file on any x86_64 operating system, such as Windows, GNU Linux, GNU/Systemd, NetBSD, OpenBSD, etc. . Independence is reflected in the ability to embed models and tokenizers through ZipOS (cosmocc), INCBIN, strliteral. L2E can run on CPU/GPU.

致敬TempleOS,有开发者创建了启动Llama 2的操作系统,网友:8G内存老电脑就能跑

Please refer to the original project for more details.

The above is the detailed content of To pay tribute to TempleOS, a developer has created an operating system to launch Llama 2. Netizen: An old computer with 8G memory can run it. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

DeepMind robot plays table tennis, and its forehand and backhand slip into the air, completely defeating human beginners DeepMind robot plays table tennis, and its forehand and backhand slip into the air, completely defeating human beginners Aug 09, 2024 pm 04:01 PM

But maybe he can’t defeat the old man in the park? The Paris Olympic Games are in full swing, and table tennis has attracted much attention. At the same time, robots have also made new breakthroughs in playing table tennis. Just now, DeepMind proposed the first learning robot agent that can reach the level of human amateur players in competitive table tennis. Paper address: https://arxiv.org/pdf/2408.03906 How good is the DeepMind robot at playing table tennis? Probably on par with human amateur players: both forehand and backhand: the opponent uses a variety of playing styles, and the robot can also withstand: receiving serves with different spins: However, the intensity of the game does not seem to be as intense as the old man in the park. For robots, table tennis

The first mechanical claw! Yuanluobao appeared at the 2024 World Robot Conference and released the first chess robot that can enter the home The first mechanical claw! Yuanluobao appeared at the 2024 World Robot Conference and released the first chess robot that can enter the home Aug 21, 2024 pm 07:33 PM

On August 21, the 2024 World Robot Conference was grandly held in Beijing. SenseTime's home robot brand "Yuanluobot SenseRobot" has unveiled its entire family of products, and recently released the Yuanluobot AI chess-playing robot - Chess Professional Edition (hereinafter referred to as "Yuanluobot SenseRobot"), becoming the world's first A chess robot for the home. As the third chess-playing robot product of Yuanluobo, the new Guoxiang robot has undergone a large number of special technical upgrades and innovations in AI and engineering machinery. For the first time, it has realized the ability to pick up three-dimensional chess pieces through mechanical claws on a home robot, and perform human-machine Functions such as chess playing, everyone playing chess, notation review, etc.

Claude has become lazy too! Netizen: Learn to give yourself a holiday Claude has become lazy too! Netizen: Learn to give yourself a holiday Sep 02, 2024 pm 01:56 PM

The start of school is about to begin, and it’s not just the students who are about to start the new semester who should take care of themselves, but also the large AI models. Some time ago, Reddit was filled with netizens complaining that Claude was getting lazy. "Its level has dropped a lot, it often pauses, and even the output becomes very short. In the first week of release, it could translate a full 4-page document at once, but now it can't even output half a page!" https:// www.reddit.com/r/ClaudeAI/comments/1by8rw8/something_just_feels_wrong_with_claude_in_the/ in a post titled "Totally disappointed with Claude", full of

At the World Robot Conference, this domestic robot carrying 'the hope of future elderly care' was surrounded At the World Robot Conference, this domestic robot carrying 'the hope of future elderly care' was surrounded Aug 22, 2024 pm 10:35 PM

At the World Robot Conference being held in Beijing, the display of humanoid robots has become the absolute focus of the scene. At the Stardust Intelligent booth, the AI ​​robot assistant S1 performed three major performances of dulcimer, martial arts, and calligraphy in one exhibition area, capable of both literary and martial arts. , attracted a large number of professional audiences and media. The elegant playing on the elastic strings allows the S1 to demonstrate fine operation and absolute control with speed, strength and precision. CCTV News conducted a special report on the imitation learning and intelligent control behind "Calligraphy". Company founder Lai Jie explained that behind the silky movements, the hardware side pursues the best force control and the most human-like body indicators (speed, load) etc.), but on the AI ​​side, the real movement data of people is collected, allowing the robot to become stronger when it encounters a strong situation and learn to evolve quickly. And agile

ACL 2024 Awards Announced: One of the Best Papers on Oracle Deciphering by HuaTech, GloVe Time Test Award ACL 2024 Awards Announced: One of the Best Papers on Oracle Deciphering by HuaTech, GloVe Time Test Award Aug 15, 2024 pm 04:37 PM

At this ACL conference, contributors have gained a lot. The six-day ACL2024 is being held in Bangkok, Thailand. ACL is the top international conference in the field of computational linguistics and natural language processing. It is organized by the International Association for Computational Linguistics and is held annually. ACL has always ranked first in academic influence in the field of NLP, and it is also a CCF-A recommended conference. This year's ACL conference is the 62nd and has received more than 400 cutting-edge works in the field of NLP. Yesterday afternoon, the conference announced the best paper and other awards. This time, there are 7 Best Paper Awards (two unpublished), 1 Best Theme Paper Award, and 35 Outstanding Paper Awards. The conference also awarded 3 Resource Paper Awards (ResourceAward) and Social Impact Award (

Hongmeng Smart Travel S9 and full-scenario new product launch conference, a number of blockbuster new products were released together Hongmeng Smart Travel S9 and full-scenario new product launch conference, a number of blockbuster new products were released together Aug 08, 2024 am 07:02 AM

This afternoon, Hongmeng Zhixing officially welcomed new brands and new cars. On August 6, Huawei held the Hongmeng Smart Xingxing S9 and Huawei full-scenario new product launch conference, bringing the panoramic smart flagship sedan Xiangjie S9, the new M7Pro and Huawei novaFlip, MatePad Pro 12.2 inches, the new MatePad Air, Huawei Bisheng With many new all-scenario smart products including the laser printer X1 series, FreeBuds6i, WATCHFIT3 and smart screen S5Pro, from smart travel, smart office to smart wear, Huawei continues to build a full-scenario smart ecosystem to bring consumers a smart experience of the Internet of Everything. Hongmeng Zhixing: In-depth empowerment to promote the upgrading of the smart car industry Huawei joins hands with Chinese automotive industry partners to provide

Li Feifei's team proposed ReKep to give robots spatial intelligence and integrate GPT-4o Li Feifei's team proposed ReKep to give robots spatial intelligence and integrate GPT-4o Sep 03, 2024 pm 05:18 PM

Deep integration of vision and robot learning. When two robot hands work together smoothly to fold clothes, pour tea, and pack shoes, coupled with the 1X humanoid robot NEO that has been making headlines recently, you may have a feeling: we seem to be entering the age of robots. In fact, these silky movements are the product of advanced robotic technology + exquisite frame design + multi-modal large models. We know that useful robots often require complex and exquisite interactions with the environment, and the environment can be represented as constraints in the spatial and temporal domains. For example, if you want a robot to pour tea, the robot first needs to grasp the handle of the teapot and keep it upright without spilling the tea, then move it smoothly until the mouth of the pot is aligned with the mouth of the cup, and then tilt the teapot at a certain angle. . this

Tested 7 'Sora-level' video generation artifacts. Who has the ability to ascend to the 'Iron Throne'? Tested 7 'Sora-level' video generation artifacts. Who has the ability to ascend to the 'Iron Throne'? Aug 05, 2024 pm 07:19 PM

Editor of Machine Power Report: Yang Wen Who can become the King of AI video circle? In the American TV series "Game of Thrones", there is an "Iron Throne". Legend has it that it was made by the giant dragon "Black Death" who melted thousands of swords discarded by enemies, symbolizing supreme authority. In order to sit on this iron chair, the major families started fighting and fighting. Since the emergence of Sora, a vigorous "Game of Thrones" has been launched in the AI ​​video circle. The main players in this game include RunwayGen-3 and Luma from across the ocean, as well as domestic Kuaishou Keling, ByteDream, and Zhimo. Spectrum Qingying, Vidu, PixVerseV2, etc. Today we are going to evaluate and see who is qualified to sit on the "Iron Throne" of the AI ​​video circle. -1- Vincent Video

See all articles