Skip to content

Commit

Permalink
Release 0.38.0 (#1122)
Browse files Browse the repository at this point in the history
Release 0.38.0

---------

Co-authored-by: Josh Bauer <josh@sematic.dev>
  • Loading branch information
augray and Josh Bauer authored Apr 15, 2024
1 parent 15bc0a0 commit ec20aba
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<h3 align="center">Build ML pipelines with only Python, run on your laptop, or in the cloud.</h3>

![PyPI](https://img.shields.io/pypi/v/sematic/0.37.0?style=for-the-badge)
![PyPI](https://img.shields.io/pypi/v/sematic/0.38.0?style=for-the-badge)
[![CircleCI](https://img.shields.io/circleci/build/github/sematic-ai/sematic/main?label=CircleCI&style=for-the-badge&token=60d1953bfee5b6bf8201f8e84a10eaa5bf5622fe)](https://app.circleci.com/pipelines/github/sematic-ai/sematic?branch=main&filter=all)
![PyPI - License](https://img.shields.io/pypi/l/sematic?style=for-the-badge)
[![Python 3.8](https://img.shields.io/badge/Python-3.8-blue?style=for-the-badge&logo=none)](https://python.org)
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@



.. image:: https://img.shields.io/pypi/v/sematic/0.37.0?style=for-the-badge
:target: https://img.shields.io/pypi/v/sematic/0.37.0?style=for-the-badge
.. image:: https://img.shields.io/pypi/v/sematic/0.38.0?style=for-the-badge
:target: https://img.shields.io/pypi/v/sematic/0.38.0?style=for-the-badge
:alt: PyPI


Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Lines for version numbers should always be formatted as
with nothing else on the line.
-->
* HEAD
* [0.38.0](https://pypi.org/project/sematic/0.38.0/)
* [improvement] Add more pod information before deleting kubernete jobs
* [bugfix] Stop the `CloudRunner` from marking itself as canceled when its pod
is evicted
* [bugfix] Improve the `CloudRunner`'s ability to take advantage of parallelism
* [0.37.0](https://pypi.org/project/sematic/0.37.0/)
* [improvement] Make log reading more responsive
* [bugfix] Fix an issue when rendering subclasses of dataclasses in collections
Expand Down
4 changes: 2 additions & 2 deletions helm/sematic-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: sematic-server
description: Sematic AI Server
type: application
version: 1.1.19
appVersion: v0.37.0
version: 1.1.20
appVersion: v0.38.0
maintainers:
- name: sematic-ai
url: https://github.com/sematic-ai/sematic/
4 changes: 3 additions & 1 deletion sematic/examples/testing_pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ def do_retry(val: float, failure_probability: float = 0.5) -> float:
"Executing: do_retry(val=%s, failure_probability=%s)", val, failure_probability
)
time.sleep(5)
if random.random() < failure_probability:
p = random.random()
logger.info("p=%s", p)
if p < failure_probability:
raise ValueError("test retriable exception")
return val

Expand Down
4 changes: 2 additions & 2 deletions sematic/runners/state_machine_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def _pipeline_run_loop(self):
)

if not state_changed:
logger.info("Entering wait")
# we only want to enter a waiting state if nothing changed.
# otherwise there might be other things we can schedule
# before starting the wait.
Expand Down Expand Up @@ -472,8 +473,7 @@ def _schedule_future_if_args_concrete(self, future: AbstractFuture) -> bool:

if all_args_concrete:
future.resolved_kwargs = concrete_kwargs
self._execute_future(future)
return True
return self._execute_future(future)
return False

def _execute_future(self, future: AbstractFuture) -> bool:
Expand Down
4 changes: 2 additions & 2 deletions sematic/ui/packages/common/src/pages/Home/Blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function Blog() {
return <Container>
<StyledSection>
<span>
Latest blog pipelines
Latest blog posts
</span>
<span>
<Link variant="subtitle1" type="menu" target={"_blank"} href={"https://www.sematic.dev/blog"}>
Expand All @@ -78,4 +78,4 @@ export default function Blog() {
<Typography color={"lightGray"}>{`${author} on ${time}.`}</Typography>
</BlogWrapper>)}
</Container>;
}
}
16 changes: 8 additions & 8 deletions sematic/ui/packages/common/src/pages/Home/blogs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"title": "The LLM Playground: March 2024 release and Product Hunt launch",
"link": "https://www.airtrain.ai/blog/the-llm-playground-march-2024-release-and-product-hunt-launch",
"description": "Read about the launch of the Airtrain LLM Playground by the Sematic team.",
"author": "Emmanuel Turlay",
"time": "March 8, 2024"
},
{
"title": "Tuning and serving FLAN-T5 and GPT-J 6B with LoRA, Sematic, and Gradio",
"link": "https://www.sematic.dev/blog/tuning-and-serving-flan-t5-and-gpt-j-6b-with-lora-sematic-and-gradio",
Expand All @@ -12,12 +19,5 @@
"description": "Voxel uses Sematic to increase productivity across their Machine Learning (ML) team and retrain Computer Vision models faster. Sematic enabled Voxel to reduce their model turnaround time from 3 weeks to 3 days at a 20x cost saving.",
"author": "Emmanuel Turlay",
"time": "July 5, 2023"
},
{
"title": "Release Notes – 0.31.0",
"link": "https://www.sematic.dev/blog/release-notes-0-31-0",
"description": "Read up on what's new in 0.31.0: GitHub integration, real-time metrics, LLM example, and native dependency packaging.",
"author": "Josh Bauer",
"time": "June 29, 2023"
}
]
]
2 changes: 1 addition & 1 deletion sematic/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# the sdk. Should be bumped any time a release is made. Should be set
# to whatever is the version after the most recent one in changelog.md,
# as well as the version for the sematic wheel in wheel_constants.bzl
CURRENT_VERSION = (0, 37, 0)
CURRENT_VERSION = (0, 38, 0)

# TO DEPRECATE
# 0.X.X:
Expand Down
2 changes: 1 addition & 1 deletion sematic/wheel_constants.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# changelog.md.
# This is the version that will be attached to the
# wheel that bazel builds for sematic.
wheel_version_string = "0.37.0"
wheel_version_string = "0.38.0"

wheel_author = "Sematic AI, Inc."
wheel_author_email = "support@sematic.dev"
Expand Down

0 comments on commit ec20aba

Please sign in to comment.