Skip to content

The Primula algorithm, as a generic pluggable predictor.

Notifications You must be signed in to change notification settings

GEizaguirre/primula-plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Primula (plug)

Pluggable Primula algorithm

Installation

pip install -e .
lithops runtime build -f Dockerfile primula-profiling:0.1

Usage

Once per machine and Lithops configuration (storage profiling data is stored at your home directory)...

from primula import Primula

prim = Primula()
prim.setup(bucket_name = "my_bucket")
prim.create_model()

Then, to infer each time...

GB = 1024 * 1024 * 1024
D = 100 * GB
predicted_workers_read, predicted_time_read = prim.infer_read(D)
predicted_workers_write, predicted_time_write = prim.infer_write(D)

About

The Primula algorithm, as a generic pluggable predictor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published