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

Improve performance of onnx.ai/models #661

Open
ramkrishna2910 opened this issue Mar 31, 2024 · 2 comments
Open

Improve performance of onnx.ai/models #661

ramkrishna2910 opened this issue Mar 31, 2024 · 2 comments
Assignees

Comments

@ramkrishna2910
Copy link
Contributor

ONNX Model Zoo is now accessed through a webpage onnx.ai/models. This webpage is powered by github pages that reads the directory strucutre from github.com/onnx/models to populate the webpage.
The initial load of the webpage takes > 5sec due to the need to parse 1 yaml file per model to read Author, license and task information.

Proposed Solution:
Add a post merge hook in github.com/onnx/models that generates a json file on every merge that has the following structure per onnx model:

Model Name:
    URL
    Task
    Author Name
    License

This file can be then consumed by github pages instead of parsing 1000's of yaml files at load time.

@shrinivas2009in
Copy link

I’ll take a look at this

@venkatvellaichamy
Copy link
Contributor

@ramkrishna2910, @shrinivas2009in, I think we should be able to use github actions, which are server-side JSON generation in this case, instead of post-merge in git, which would be client-side implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants