OneFlow v0.5.0RC came out!

OneFlow is a performance-centered and open-source deep learning framework.

Welcome to use OneFlow v0.5.0RC, we would love to hear feedback!

Highlights

  • First class support for eager execution. The deprecated APIs are moved to oneflow.compatible.single_client
  • Drop-in replacement of import torch for existing Pytorch projects. You could test it by inter-changing import oneflow as torch and import torch as flow.
  • nn.Module for eager execution
  • nn.Graph for lazy execution
  • DDP for data parallel

A sneak peek of the new API

Here is a minimum example showcasing how to incorporate a nn.Module in a nn.Graph and have it run in lazy mode.

class NeuralGraph(flow.nn.Graph):
def __init__(self, ...):
super().__init__()
self.model = model # model is a nn.Module instance
def build(self, x):
y_pred = self.model(x)
return y_pred
graph = NeuralGraph() # to create a nn.Graph instance
y_pred = graph(x) # to run the created nn.Graph

Full changelog link:https://github.com/Oneflow-Inc/oneflow/releases/tag/v0.5rc1

Welcome to visit OneFlow on GitHub and follow us on Twitter and LinkedIn.

Also, welcome to join our Discord group to discuss and ask OneFlow related questions, and connect with OneFlow contributors and users all around the world.

--

--

--

OneFlow is a performance-centered and open-source deep learning framework.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Deploying Flutter iOS apps with fastlane and GitHub Actions

Thus dark join run whom operation.

Operators II & Control Flow

Mathematic: The philosophy behind our name.

New Year, New Internet Goals 🎉

My 2016 Homescreen

Layering Lessons from Outlook’s Key-Value Store

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
OneFlow

OneFlow

OneFlow is a performance-centered and open-source deep learning framework.

More from Medium

OneFlow v0.6.0 came out!

Introduction to Knowledge Distillation

InfiniteRep: An open-source synthetic dataset for remote fitness and PT applications

Towards a more applicative Pose Estimation.