Comments (7)
I am more worried about the compilation overhead of the DifferentialEquations for the interactive one. If there is any change to their packages, at that point it can make a couple-dozen compilations necessary.
from lecture-source-jl.
The other thing is: do we tag the new QELP to be v0.3.1
instead of v0.4
? It may make sense that these tweaks are only used for minor releases...
And I think we should also then push the changed v0.3.1
to the syzygy build, so that users have whatever is the latest after the ] up
without a whole bunch of recompilation.
Of course, that means we add it to the syzygy, rather than replacing the current one. i.e. both v0.3
and v0.3.1
are instnatiated int he image.
from lecture-source-jl.
OK @jlperla I think this is complete. See the UBCEcon repo.
Each image comes with our usual set of packages (i.e., Expectations Parameters Plots InstantiateFromURL QuantEcon IJulia DifferentialEquations Interpolations...
).
The headless image is about 3 GBs, with roughly 1.7 coming from our installed/precompiled packages, 0.5 coming from the base Julia image, and 0.5 coming from the Linux dependencies necessary for plots. The additional 0.3 is Jupinx/Miniconda.
The interactive image is about 6 GBs, with about 0.5 coming from our packages (smaller most likely because of pre-existing resources), 0.5 coming from Conda dependencies for R, 0.3 from Julia itself, and the rest from the base image. This is bigger than the one Jasmine was experimenting with, because we based it off of the full jupyter/datascience-notebook
instead of picking and choosing.
from lecture-source-jl.
Are we using the InstantiateFromURL here to install/precompile all of QELP? Remember that we want this to work with them precompiled out of the box to be compatible with the lecture notes.
But before we do that... lets try to get the image size down. I think we should do the following:
- Make a version of the QELP v0.4 where we remove
DifferentialEquations, Dierckx, Interact, DiffEqCallbacks
- Add in
LazyArrays, FillArrays
as well, but these are dependencies of banded, so it won't add anything - Do a general
] up
afterwards. - We should check that the manifest.toml is significantly shorter, and we can test with the
ECON_628
notebooks to make sure there isn't any issue after we move tov0.4
- If there are a few lecture notes that use
Dierckx
, people can add it as required. - Remove the
DifferentialEquations DiffEqBase
from the headless and interactive ones as well - Add in the
using InstantiateFromURL; activate_github("QuantEcon/QELP", "v0.4")
or whatever into both of the images - We should then have separate
headless-diffeq
andinteractive-diffeq
images which use these other two as bases, but simply do aadd DifferentialEquations DiffEqBase DiffEqCallbacks Interact Sundials; precompile
to them. This gives an option for a precompiled, massive image with all the diffeq stuff in it.- I am not sure if you can do this prior to putting the first two as official docker images on the QuantEcon docker build (because we use it as a base image). We can get the login info from Matt, although it is possible jasmine already has it.
from lecture-source-jl.
OK, sounds good. We can also remove R stuff and try and delete unnecessary cache files.
from lecture-source-jl.
All sounds good to me. And agree that we shouldn’t have everything be a minor release.
from lecture-source-jl.
Closing this because we now have the QuantEcon/docker#2
from lecture-source-jl.
Related Issues (20)
- Add precompiling some key packages to colab to increase perceived speed HOT 1
- Delete VSE Syzygy from the List
- Fix packages for pdf build HOT 3
- Fix font/latex pipeline to support more unicode HOT 4
- Upgrade everything to Julia 1.4.2 and document steps to upgrade a julia version
- A few clarifications on multiplying by adjoints
- Plots not showing in the pdf build HOT 3
- Width of instantiate cell added scrollbars again
- Theme Assets HOT 1
- Test JuliaPro 1.4 HOT 1
- Thoughts on covid and SciML lecture outline HOT 15
- Check Plots Stuff
- Document and add ModelingTookit.jl to Project (it is already in the manifest, no need to bump packages)
- Go Live on v0.8.0 and tag notebook repos HOT 1
- Some minor, redundant ;; in lectures HOT 1
- Update Images in GitHub Lecture to New Design Language HOT 1
- Fix the wald_friedman lecture
- Watch out for Julia 1.5 HOT 2
- McCall exercise solution index HOT 3
- Typo in Arellano HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lecture-source-jl.