v0.1.5
Released on November 29, 2022.
Key Features
- Enables operators running on Kubernetes to access GPUs and set RAM and CPU
requirements. Note that using a GPU requires your Kubernetes cluster to
already have GPU machines attached. See our
documentation for more details.
@op(resources={'num_cpus': 2, 'memory': '5Gb', 'gpu_resource_name': 'nvidia.com/gpu'})
def my_operator_with_many_resources():
return 1
- Similarly, functions running on AWS Lambda can have memory requirement
set using the syntax above; AWS Lambda does not support setting CPU requirement
and it does not support GPUs.
Enhancements
- Enables operator previews to execute using different integrations, including
using the resource constraints described above. - Allows for the execution engine to be set globally for a client instance. See
more details
here:
aq.global_config({'engine': 'my_k8s_integration'})
Bugfixes
- Fixes bug where a Kubernetes pod that ran out of memory would fail silently.
All Changes
All commits
- Add ability to configure memory and number of CPUs on K8s backend by @kenxu95 in #701
- Fixes lint warning on version_selector component by @agiron123 in #708
- ENG-1870: Remove unused code from frontend by @agiron123 in #712
- Handle OOM exceptions gracefully in Kubernetes by @kenxu95 in #714
- Enables GPUs on K8s engine by @hsubbaraj-spiral in #717
- Enable Preview Using Different Engines by @Fanjia-Yan in #696
- Eng 1905 refactor artifact collection into model by @eunice-chan in #662
- Fix broken Lambda execution by @kenxu95 in #727
- Fix Run Notebook Fail Resulted From Python Setup by @Fanjia-Yan in #728
- Eng 1907 refactor integration collection into model by @eunice-chan in #663
- Eng 1908 refactor notification collection into model by @eunice-chan in #664
- Eng 1910 refactor operator_result collection into model by @eunice-chan in #667
- ENG-2032 Fix Workflows Back Navigation by @agiron123 in #730
- Adds ability to configure memory for Lambda-backed operators by @kenxu95 in #729
- Defines DAG model and repo by @saurav-c in #705
- Builds many improvements into SDK integration test suite by @kenxu95 in #732
- Defines DAGResult model and repo by @saurav-c in #711
- Defines DAGEdge model and repo by @saurav-c in #713
- Defines watcher model and repo by @saurav-c in #715
- ENG-2047 Bugfix: User unable to switch workflows after hitting back button in browser by @agiron123 in #739
- Ready for release 0.1.5 by @cw75 in #736