Skip to content

sixf0ur/llama2psp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llama2psp

A quick homebrew for running llama2.c on the PSP.

image

Prerequisites

You will need docker and can use the pspdev/pspdev docker image.

docker pull pspdev/pspdev

How to build

  • Clone this repo and cd into the repo folder.

Mac/Linux Run:

docker run -it --rm -v "$PWD:/src" -w /src pspdev/pspdev make

Windows Run:

docker run -it --rm -v "%cd%:/src" -w /src pspdev/pspdev make

Installation

  • Put the EBOOT.PBP in the following directory ms0:/PSP/GAME/llama2psp/EBOOT.PBP as well as the model named model.bin and tokenizer named tok.bin

  • Models and tokenizer have to be in the llama2.c format and can be downloaded here

  • Due to the hardware limitations of the PSP, I used the smallest 260k model and its tokenizer.

About

llama2.c running on the PSP

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors