Skip to content

Commit

Permalink
Compute: Put base images on a diet (#12081)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 6ec44e614e3164c0078cd4bcd4d2037ec6f98786
  • Loading branch information
stephencpope authored and Descartes Labs Build committed Sep 19, 2023
1 parent 3aacbf3 commit 3da6ac4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ Changelog

## Compute

- *Breaking Change* The base images for compute have been put on a diet. They are now themselves built
from "slim" Python images, and they no longer include the wide variety of extra packages that were
formerly included (e.g. TensorFlow, SciKit Learn, PyTorch). This has reduced the base image size by
an order of magnitude, making job startup overhead commensurately faster. Any functions which
require such additional packages can add them in as needed via the `requirements=` parameter. While
this will increase image size, it will generally still be much better than the prior "Everything and the kitchen sink" approach.

- Changes to the `Function.map()` method, with the parameter name change of `iterargs` changed to `kwargs`
(the old name is still honored but deprecated), corrected documentation, and enhancements to support more
general iterators and mappings, allowing for a more functional programming style.


## [2.0.3] - 2023-07-13

### Compute
Expand Down

0 comments on commit 3da6ac4

Please sign in to comment.