Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils: framework builder #862

Open
FeelyChau opened this issue Sep 10, 2021 · 2 comments
Open

utils: framework builder #862

FeelyChau opened this issue Sep 10, 2021 · 2 comments
Labels
2.0 framework Pipcook framework

Comments

@FeelyChau
Copy link
Collaborator

We have built some framework packages for the example pipelines, I think it's time to implement the framework maker to help the users to make it themself.

First, we should define the format of the framework description file, maybe as follows:

{
  "name": "tfjs",
  "version": "3.8.0",
  "type": "js",
  "packages": [
    {
      "name": "@tensorflow/tfjs-node",
      "version": "3.8.0",
      "type": "js"
    },
    {
      "name": "tensorflow",
      "version": "2.6",
      "type": "python"
    }
  ]
}

The file name should be framework.json. We could run the command in the directory:

$ pipcook framework make .

Then the maker should download the node.js package@tensorflow/[email protected] into the node_modules in the framework directory and download the python package tensorflow into directory site-packages.
After running the maker in every environment(the matrix of Linux/macOS/windows and node v12.17/v12.19/v12.22/v14.0/v14.12/v14.17), all frame packages suitable for these environments could be made.

@FeelyChau FeelyChau added 2.0 framework Pipcook framework labels Sep 10, 2021
@yorkie
Copy link
Member

yorkie commented Sep 10, 2021

How about pipcook framework build?

@FeelyChau
Copy link
Collaborator Author

How about pipcook framework build?

Sounds good.

@FeelyChau FeelyChau changed the title utils: framework maker utils: framework builder Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 framework Pipcook framework
Projects
None yet
Development

No branches or pull requests

2 participants