You are here |
stefan-marr.de | ||
| | | |
pythonspeed.com
|
|
| | | | Python's Global Interpreter Lock (GIL) stops threads from running in parallel or concurrently. Learn how to determine impact of the GIL on your code. | |
| | | |
tomaugspurger.net
|
|
| | | | This work is supported by Anaconda, Inc. and the Data Driven Discovery Initiative from the Moore Foundation. This is part three of my series on scalable machine learning. Small Fit, Big Predict Scikit-Learn Partial Fit Parallel Machine Learning You can download a notebook of this post [here][notebook]. In part one, I talked about the type of constraints that push us to parallelize or distribute a machine learning workload. Today, we'll be talking about the second constraint, "I'm constrained by time, and would like to fit more models at once, by using all the cores of my laptop, or all the machines in my cluster". | |
| | | |
alexgaynor.net
|
|
| | | | ||
| | | |
coredumped.dev
|
|
| | In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff... |