Comments (4)
My idea is that we could also restructure our current lecture on parallelization into two large sections -- multiprocessing and multithreading. Then, we can introduce them separately, compare the differences, and group these functions into corresponding categories like Numba and JAX, implicit multithreading in NumPy, distributed scheduler (multiprocessing/multithreading) in Dask... so that the conceptual differences between them will be clear to readers.
I think you're right. Let's go with this approach for now unless @mmcky objects.
Regarding the section on multiprocessing, my first instinct is that we should just stick to dask. Thoughts on that @mmcky ? Also, we should point out that multiprocessing can be used on top of multithreading --- for example, with a cluster of machines or GPUs.
from lecture-python-programming.myst.
I agree @HumphreyYang and @jstac I think dask is the current clear pick. There are some others like multiprocessing
but they aren't as general or as simple as dask
(except for really simple parallelisation).
from lecture-python-programming.myst.
Hi @HumphreyYang and @mmcky , thanks for the input. Let's focus on dask while at least mentioning the existence of other options.
Second, with apologies, I want to reverse myself and request a separate lecture on dask / multiprocessing. One reason is that I envisage adding applications to the numba lecture and I don't want it to get too long.
I suggest we title the two lectures
- Parallelization Part I: Multithreading
- Parallelization Part II: Multiprocessing
If you guys agree then @HumphreyYang and @mmcky , it would be great if you could take the lead together on Part II. In the meantime I'm going to write up the JAX lecture and add one application to the numba lecture.
Regards, John.
from lecture-python-programming.myst.
Close with #263
from lecture-python-programming.myst.
Related Issues (20)
- Adding More Functions to Pandas Lecture
- Add a Lecture on Numba Cuda HOT 4
- MAINT: Re-Enable Notebook Publishing to Notebook Repo HOT 2
- Data from yfinance is Missing in Pandas Exercise Solutions HOT 4
- Intro with statement
- [More Language Features] Add Splat Operator, *args, and **kwargs to Lecture 17
- Lecture using Polars (Library)? HOT 1
- Review Pandas Lecture HOT 1
- Add a lecture on Dask? HOT 1
- Python by example lecture HOT 1
- [jax] Revert builds to GH (no Jax) HOT 1
- Add a lecture on development environments
- Issue with Cache build + requests HOT 4
- deprecation warnign
- Fix Debugger Warnings HOT 3
- Deprecation Warnings HOT 4
- MAINT: Rename repository to be QuantEcon style compliant HOT 1
- Migrate `pandas_panel` to this lecture series
- Update about python figure
- Remove market class from OOPII
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-python-programming.myst.