Skip to content

A bare minimal example for PyCUDA and llama-cpp-python

Notifications You must be signed in to change notification settings

fly-apps/fly-llama-cpp-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Create an app

fly apps create my-llama-app

Launch a machine

fly m run --region ord --vm-size l40s .

Once it is started, ssh into it:

fly ssh console -s

and run test codes:

/code/test-cuda.py
# and
/code/test-llamacpp.py

check machine logs with

fly logs

if by any case you see an error message about missing devices:

[info]ERROR Error: an unhandled error occurred: No such device (os error 19)

force a machine update with:

fly m update --metadata foo=any MACHINEID

About

A bare minimal example for PyCUDA and llama-cpp-python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published