You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Look at Recent Container Service Layers for Reproducibility #52
@thomassargent30 let me know about "singularity containers" as a possible option for QuantEcon
Have you considered using "singularity" from scilab.io as a way of creating "containers" for our quantecon environments? Someone told me that is a good technology.
Thanks @thomassargent30 — this was a good instinct, and it deserved a reply a great deal sooner than this one. Apologies for the long silence on it.
The short answer is that we did take the container route, just not through Singularity, and that work is very much alive today.
Containers were adopted, in Docker/OCI form. That happened under #69, which shipped QuantEcon/lecture-python.docker in April 2023 and has since grown into the container infrastructure in QuantEcon/actions. Two images are published and rebuilt weekly, lecture-dp builds inside one of them today, and the GPU lecture builds run in containers as well. So the first checkbox is answered — the underlying idea was right, and it is now ordinary infrastructure for us.
Singularity specifically was never the right fit, and that is about our setup rather than the software. Both forks are in good health — Apptainer shipped v1.5.3 in July 2026 and SingularityCE v4.5.0 in June — but the problem Singularity and Apptainer exist to solve is rootless execution on shared multi-tenant HPC clusters, where you cannot be root and cannot run a daemon. We build on GitHub Actions runners and our own RunsOn EC2 instances, where we are root, and we have no cluster allocation anywhere. It also has no native macOS support, which rules it out for local builds. One small correction for the record: the vendor is Sylabs at sylabs.io — the "scilab.io" in the original note is unrelated software.
The second checkbox turned out to be the wrong question, in a useful way. It is not containers versus conda; it is containers and conda. The container supplies the base system — Ubuntu, TeXLive, CUDA, the toolchain — and environment.yml is applied as a delta on top of it. That is what we actually run, and it is a better answer than either half on its own.
Where the thread continues. The package layer is still an open question, and #349 (pixi lockfiles) and #165 (uv) are the live proposals there. Neither supersedes this issue — they sit at a different layer of the stack — but that is where the reproducibility work goes next.
Closing as answered. One part genuinely is not covered, so it is carried forward as QuantEcon/actions#129: our container images are internal, which means they answer the CI half of "containers for our quantecon environments" and not the half about environments that readers and collaborators can build for themselves.
Activity
mmcky commentedon Dec 16, 2021
Another container to look at is
https://nixos.org
[-]Look at using "Singularity" Containers[/-][+]Look at Recent Container Service Layers for Reproducibility[/+]mmcky commentedon Aug 7, 2026
Thanks @thomassargent30 — this was a good instinct, and it deserved a reply a great deal sooner than this one. Apologies for the long silence on it.
The short answer is that we did take the container route, just not through Singularity, and that work is very much alive today.
Containers were adopted, in Docker/OCI form. That happened under #69, which shipped
QuantEcon/lecture-python.dockerin April 2023 and has since grown into the container infrastructure in QuantEcon/actions. Two images are published and rebuilt weekly, lecture-dp builds inside one of them today, and the GPU lecture builds run in containers as well. So the first checkbox is answered — the underlying idea was right, and it is now ordinary infrastructure for us.Singularity specifically was never the right fit, and that is about our setup rather than the software. Both forks are in good health — Apptainer shipped v1.5.3 in July 2026 and SingularityCE v4.5.0 in June — but the problem Singularity and Apptainer exist to solve is rootless execution on shared multi-tenant HPC clusters, where you cannot be root and cannot run a daemon. We build on GitHub Actions runners and our own RunsOn EC2 instances, where we are root, and we have no cluster allocation anywhere. It also has no native macOS support, which rules it out for local builds. One small correction for the record: the vendor is Sylabs at sylabs.io — the "scilab.io" in the original note is unrelated software.
The second checkbox turned out to be the wrong question, in a useful way. It is not containers versus conda; it is containers and conda. The container supplies the base system — Ubuntu, TeXLive, CUDA, the toolchain — and
environment.ymlis applied as a delta on top of it. That is what we actually run, and it is a better answer than either half on its own.Where the thread continues. The package layer is still an open question, and #349 (pixi lockfiles) and #165 (uv) are the live proposals there. Neither supersedes this issue — they sit at a different layer of the stack — but that is where the reproducibility work goes next.
Closing as answered. One part genuinely is not covered, so it is carried forward as QuantEcon/actions#129: our container images are internal, which means they answer the CI half of "containers for our quantecon environments" and not the half about environments that readers and collaborators can build for themselves.