From dev-return-2217-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Fri Feb 23 02:21:55 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id EF30D18067E for ; Fri, 23 Feb 2018 02:21:54 +0100 (CET) Received: (qmail 20091 invoked by uid 500); 23 Feb 2018 01:21:53 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 20016 invoked by uid 99); 23 Feb 2018 01:21:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2018 01:21:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id ABC981A0513 for ; Fri, 23 Feb 2018 01:21:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 25TKymjPDbbe for ; Fri, 23 Feb 2018 01:21:50 +0000 (UTC) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 458715F124 for ; Fri, 23 Feb 2018 01:21:49 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id l187so1316163ith.4 for ; Thu, 22 Feb 2018 17:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=D9DC3vVm1VkoAcOFqKTOleyjV0/dpthnMEEyJ4jNwiA=; b=NyYgGhHsIXA90Bh+nHuhdvuTON8q/87KR77zQ56HUoHQYj+VgS/furHZD92vj7xMoY 9jg4y2G0LZL74xT28EyoTgdhrzeepL2SAYXLi4II5Pr1Ar3OrDs9UI1WHznoKQreDoj0 9zGv0pUKQcV0StV0fD4cDm4Hi4Lh7aEZNThdUIK2wu+O7r/j82RthgUlS0KcxU793ZG/ uZw+82FlnnI70BwIMK6sUsdgsYPPZTOgtBbpVQLKdYV2LtMpfmhhMzOimEU+aP0I/Blt H4Z8DxD86UIVhmclTMT+GD/fJdEfVEVSefIECItAcGyvD/CcHkZlt84xFwioO0B9oBxW r0nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=D9DC3vVm1VkoAcOFqKTOleyjV0/dpthnMEEyJ4jNwiA=; b=IAE+uUP9O7ngkDGdx2NOteIwdQ7yXMpynm7+eYKJ3pIOOU98rvjdOw9tvSe9TFqNRF ff3S7h5NqYNJoGGxi3V+cpOy/v/uIeCEg093NNDlU5sMlXajpwYfgiIP2dvhDfL55Z1n CYmDjmzFN+PACBnlmF/p4HxW+4+4rwowSPIkms3XlA3F+8uenpL215JSmY9Kmn6Z1Krk EQteDzeFkPybhQg/eqi/ajrXt451Z5W6OFlAe4mca6rgyPVNeXFAoYO5QGEm24lEFoTa GEzCEvyX3n8Zhk/k9F9YNGxhV4lCy8V/nZiJYjX86nvRWLzM6ee+/2KE9Y/9tf01/L5F 0E7g== X-Gm-Message-State: APf1xPBJW2WGZHvzfAwimfREKS8vUgy3LaqEZyxAoGCyryNF2i23i0Dk RtJTRzHjVdAZAHvbIwVTHTR2RyQY9CEemerMa5CUmw== X-Google-Smtp-Source: AH8x226Z3dCF0FoBg1ZbjsufeSGITeq0S8w1nIAVHWsMzYf2AEdS8JvbHAUZg75+42u9ZZEOun/e+lZafcI7EnYpfTs= X-Received: by 10.36.78.133 with SMTP id r127mr505144ita.36.1519348907753; Thu, 22 Feb 2018 17:21:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.24.29 with HTTP; Thu, 22 Feb 2018 17:21:07 -0800 (PST) In-Reply-To: References: From: Naveen Swamy Date: Thu, 22 Feb 2018 17:21:07 -0800 Message-ID: Subject: Re: Request for comments: Proposal for import/export model formats module into MXNet To: dev@mxnet.incubator.apache.org Content-Type: multipart/alternative; boundary="001a1143e2dcefc2f40565d6fb8f" --001a1143e2dcefc2f40565d6fb8f Content-Type: text/plain; charset="UTF-8" If you train with a newer version of MXNet and try running on a older version of MXNet, it might not already work today, I am not sure if we want to support such use-cases. This is tangential to this piece of work If ONNX were to update their version, I think the right place to keep future versions of ONNX compatible should be in ONNX by providing a tool to move from ONNX.v0 to ONNX.v1. so that various framework converters always move with the latest version of ONNX. ONNX models I believe already contains the ONNX version with which it was built. On Thu, Feb 22, 2018 at 4:38 PM, Marco de Abreu < marco.g.abreu@googlemail.com> wrote: > Hello Roshani, > > interesting document and a good step towards allowing customers and > developers to adopt MXNet faster. > > Just one quick question: How would your proposed design handle > compatibility between old and new versions of MXNet as well as other > frameworks? Since serde (import/export) is part of the MXNet source, we > won't be able to update it independently. One example I'm thinking about is > training on the latest version of MXNet and running inference on an older > version. Could this cause issues since the ONNX model could be of a higher > version than the import on the old MXNet version is able to load? Would it > be necessary to have some kind of compatibility mode during the export > process in which you define the target ONNX model version? There might also > be different operator versions etc. > > Best regards, > Marco > > > > On Fri, Feb 23, 2018 at 1:15 AM, Roshani Nagmote < > roshaninagmote2@gmail.com> > wrote: > > > Hi all, > > > > I wanted to follow up on the proposal I sent before. > > https://cwiki.apache.org/confluence/display/MXNET/ > > Proposal%3A+ImportExport+ > > module > > > > It will be great if you can provide your feedback or suggestions. > > > > Thanks, > > Roshani > > > > On Thu, Jan 18, 2018 at 4:47 PM, Roshani Nagmote < > > roshaninagmote2@gmail.com> > > wrote: > > > > > Hello all, > > > > > > I have written an initial design proposal for a `serde`(temporary name) > > > module for importing and exporting different model formats like onnx, > > > coreml to and from MXNet. > > > > > > Please take a look and feel free to provide suggestions in the comment > > > section. > > > > > > https://cwiki.apache.org/confluence/display/MXNET/ > > > Proposal%3A+ImportExport+module > > > > > > Note: I will be traveling next week with limited access to emails. So, > > > responses might be delayed. > > > > > > Thanks, > > > Roshani > > > > > > --001a1143e2dcefc2f40565d6fb8f--