Skip to content

Commit

Permalink
Ready for release 0.1.5 (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
cw75 authored Nov 30, 2022
1 parent 5ff5b2d commit 6fd7d19
Show file tree
Hide file tree
Showing 28 changed files with 59 additions and 29 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 0.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](https://docs.aqueducthq.com/operators/configuring-resource-constraints) for more details.
```python
@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](https://docs.aqueducthq.com/integrations/using-integrations/compute-integrations#setting-the-global-configuration):
```python
aq.global_config({'engine': 'my_k8s_integration'})
```

### Bugfixes
* Fixes bug where a Kubernetes pod that ran out of memory would fail silently.

## 0.1.4
Released on November 14, 2022.

Expand Down
2 changes: 1 addition & 1 deletion sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setuptools.setup(
name="aqueduct-sdk",
version="0.1.4",
version="0.1.5",
author="Aqueduct, Inc.",
author_email="[email protected]",
description="Python SDK for the Aqueduct prediction infrastructure",
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.DEFAULT_GOAL = all
VERSION = 0.1.4
VERSION = 0.1.5

# By default, turn off the Makefile practice of printing each command before
# you run it.
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/athena.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/bigquery.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/mysql.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/postgres.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/s3.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/snowflake.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/connectors/sqlserver.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM aqueducthq/base_connector:0.1.4
FROM aqueducthq/base_connector:0.1.5

MAINTAINER Aqueduct <[email protected]> version: 0.1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function310.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyarrow==7.0.0 \
boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function37.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
typing_extensions==4.3.0 \
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5


ENV PYTHONUNBUFFERED 1
Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function38.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyarrow==7.0.0 \
boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/function/function39.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyarrow==7.0.0 \
boto3==1.18.0 \
pydantic==1.9.0 \
scikit_learn==1.0.2 \
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py310_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.1.4
- aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py37_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.1.4
- aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py38_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.1.4
- aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/dockerfiles/gpu/py39_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- scikit_learn==1.0.2
- typing_extensions==4.3.0
- aqueduct-ml==0.1.4
- aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/function/requirements-37.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ boto3==1.18.0
pydantic==1.9.0
scikit_learn==1.0.2
typing_extensions==4.3.0
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/function/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pyarrow==7.0.0
boto3==1.18.0
pydantic==1.9.0
scikit_learn==1.0.2
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/dockerfiles/lambda/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pydantic==1.9.0
pyyaml
SQLAlchemy==1.4.30
typing_extensions==4.3.0
aqueduct-ml==0.1.4
aqueduct-ml==0.1.5
2 changes: 1 addition & 1 deletion src/golang/lib/constants.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package lib

const ServerVersionNumber = "0.1.4"
const ServerVersionNumber = "0.1.5"
2 changes: 1 addition & 1 deletion src/python/bin/aqueduct
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ base_directory = os.path.join(os.environ["HOME"], ".aqueduct")
server_directory = os.path.join(os.environ["HOME"], ".aqueduct", "server")
ui_directory = os.path.join(os.environ["HOME"], ".aqueduct", "ui")

package_version = "0.1.4"
package_version = "0.1.5"
aws_credentials_path = os.path.join(os.environ["HOME"], ".aws", "credentials")

default_server_port = 8080
Expand Down
2 changes: 1 addition & 1 deletion src/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pyyaml
typing_extensions>=4.3.0
Pillow
packaging
aqueduct-sdk==0.1.4
aqueduct-sdk==0.1.5
2 changes: 1 addition & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="aqueduct-ml",
version="0.1.4",
version="0.1.5",
install_requires=install_requires,
scripts=["bin/aqueduct"],
packages=find_packages(),
Expand Down
4 changes: 2 additions & 2 deletions src/ui/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aqueducthq/ui",
"author": "Aqueduct, Inc. <[email protected]>",
"version": "0.1.4",
"version": "0.1.5",
"scripts": {
"start": "parcel --no-cache index.html",
"build": "parcel build --public-url /dist --dist-dir dist/default index.html",
Expand All @@ -10,7 +10,7 @@
"lint:fix": "eslint '*/**/*.{js,ts,tsx}' --format table --fix"
},
"dependencies": {
"@aqueducthq/common": "0.1.4",
"@aqueducthq/common": "0.1.5",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@fortawesome/fontawesome-svg-core": "^6.1.1",
Expand Down
4 changes: 2 additions & 2 deletions src/ui/common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ui/common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aqueducthq/common",
"author": "Aqueduct <[email protected]>",
"version": "0.1.4",
"version": "0.1.5",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"alias": {
Expand Down

0 comments on commit 6fd7d19

Please sign in to comment.