Skip to content

JIT compilation on serverless (i.e. Modal Labs) #64

@andersonbcdefg

Description

@andersonbcdefg

I'm noticing that it takes a really long time to start up anything with ranx in a serverless setting, e.g. Modal Labs. I tried adding a step during the build process where I call the functions that need to be cached, but it doesn't seem to help. This is true even if I explicitly set the NUMBA_CACHE_DIR to a directory that will persist from build -> deployment. Do you have advice on how to avoid the JIT slow start in this setting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions