We have a private CloudLab profile to install Cinder (commit 1aeff3) and fire up Facebook's Docker image.
The profile runs the script here, which is public: https://users.cs.utah.edu/~blg/sp-cloudlab.tar.gz
The CloudLab profile is named sp-perf/sp-demo. If you have access, the files are here: https://www.cloudlab.us/show-profile.php?uuid=369bda87-5444-11ef-b3bd-e4434b2381fc
(Taken from cinder/python-build-env.)
Note
You must have already installed and set up Docker on your machine.
- Clone the
cinderrespotory.
git clone https://github.com/facebookincubator/cinder.git- Run the following docker command.
docker run -v "$PWD/cinder:/vol" -w /vol -it --rm ghcr.io/facebookincubator/cinder/python-build-env:latest bash- pull the changes (git pull).
- ls, and navigate to the file that needs to be run (./call-method/shallow).
- Run the following command (maybe using
python.exeinstead):
/vol/python -m cinderx.compiler --static module.py
(old command used -m compiler)
Static Python: https://users.cs.utah.edu/~blg/publications/publications.html#lgmvpk-pj-2023
Reticulated Python (Retic): https://dl.acm.org/doi/10.1145/3093333.3009849
Retic Performance: https://users.cs.utah.edu/~blg/publications/publications.html#gm-pepm-2018
More Retic Performance: https://dl.acm.org/doi/10.1145/3359619.3359742
Grift, sampling performance: https://akuhlens.github.io/paper/pldi19.pdf
Blog post, mypy frustrations: https://www.uninformativ.de/blog/postings/2022-04-21/0/POSTING-en.html