8000 Releases · MalevichAI/malevich · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: MalevichAI/malevich

v0.4.1

21 Nov 10:52
18e8b19
Compare
Choose a tag to compare
Update pyproject.toml

v0.3.1

16 Apr 09:35
Compare
Choose a tag to compare

Full Changelog: v0.3.0...v0.3.1

v0.3.0

12 Apr 11:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.6...v0.3.0

v0.2.6

20 Mar 19:04
ec2c9d6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.4...v0.2.6

v0.2.4: `has_object` for Square

25 Feb 14:23
Compare
Choose a tag to compare
add: has_object (#32)

v0.2.3: `get_object` Square interface

25 Feb 12:03
4b29cd5
Compare
Choose a tag to compare

v0.2.2

21 Feb 17:56
Compare
Choose a tag to compare
fixed: PromisedTask.save

v0.0.2: CLI interface with image installers

13 Oct 15:57
b94d86c
Compare
Choose a tag to compare
app_cfg with class part, get_object (#27) (#30)

* as_object, update as_df OBJ

* app_cfg with class part, get_object

---------

Co-authored-by: Andrew Pogrebnoi <pogrebnoijak@users.noreply.github.com>

v0.2.1

06 Feb 08:28
Compare
Choose a tag to compare

New

  • Documentation. Explore https://malevichai.github.io/malevich/ for rich explanations about concepts used in Malevich, examples of use, and structured API references.
  • CLI: Run malevich new to create a new app and jump into writing code for apps faster.

Updates:

Results:

Working with results obtained by running flows on Malevich Core became more user-friendly. Use methods like get_df(), get_dfs(), get_binary(), get_binary_dir() to obtain results in desired format skipping manual mapping or type checking. Results come in strict and well-defined schema

Square

Now composite assets are converted to dataframes as a list of paths allowing you to straightly use paths in the table instead of resolving the type of assets. Also, you can now produce assets in the app by using context.as_object() function.

Batching

Couple of Core operation are now performing faster via Core Batcher interface.

New Registry

We changed our AWS registry ID, so malevich install will only be valid from this version

v0.2: Assets, Runners and many performance improvements

16 Jan 15:51
Compare
Choose a tag to compare

New:

Assets

Assets are local files, that can be uploaded and used directly in flows. You can pass them between apps, that support assets as input, upload them from your local system, and download them back from Core by returning them in flow

from malevich import asset, flow
from malevich.openai import speech_to_text

@flow()
def wonderful_flow():
      audio = asset.file('speech.mp3')
      return speech_to_text(audio)

Runners

Changing data from run to run required a lot of boilerplate code. To enhance user experience and allow running a large amount of tasks from code with minimal effort, we introduce Runners:

from malevich import flow, collection
from malevich.runners.async_core import AsyncCoreRunner
from malevich.openai import prompt_completion

@flow()
def ask():
     data = collection('question')
     return prompt_completion(data, config=...)
     
runner = AsyncCoreRunner(task=ask, core_auth=(..., ...))
for q in question_bank:
      runner.run(question=q, callback=print)
runner.wait()

They automatically understand points, where you can inject data (e.g. collection with the name "question" in this case), and provides a neat and fast way of running and fetching results.

Minor Changes

Besides runners and assets, we improved the robustness and speed of our Core Interpretation, new features in Malevich Square including PyTorch Serialization and many others.

0