Skip to content

Feasibility to (semi) automate the porting of Python Jupyter notebooks to .NET interactive? #436

Description

@GeorgeS2019

As TorchSharp is fast approaching 1.0 version!

If there is a way to (semi) automate python Jupyter notebooks to .NET interactive, replacing PyTorch statements to TorchSharp?

The main motivation is to (semi) automate way to EVALUATE and to demonstrate the high coverage of TorchSharp.

The result of the conversion is a e.g. log, stating which PyTorch functions and methods are still not "covered" in TorchSharp.

  • This log will accelerate the process of covering up the gaps in TorchSharp.
  • Second, this will give further confidence of the maturity of TorchSharp and hard work by Microsoft team supporting this critical unmet data science and machine learning needs for .NET communities.

This will be a multi-expertise attempts involving different specialists from community, dotnet and Microsoft teams.

Some of the tools and expertise needed:

  • Python to Csharp code conversion: e.g. PyToCS
  • Rosyln for checking the feasibility to compile the converted codes
  • .NET interactive team for the vision of to making .NET communities tool to transition from python to .NET or inspire more .NET use of .NET intereactive in data science and machine learning
  • .NET Python 3 parser (alternative e.g. IronPython3, if the need is insufficient provided by PyToCS. )

Use case

Using .NET intereactive, the user open a python Juypter document and press convert to get the Conversion report and a Work in Progress conversoin to TorchSharp.

Feedback and discussion please :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions