Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
19 stars 4 forks source link

DLHub Migration Script #411

Closed WillEngler closed 7 months ago

WillEngler commented 7 months ago

This PR contains much of the work for #402

Overview

This PR has a script that creates Garden endpoints and gardens from the known-working DLHub models. After running the script you need to manually issue some CLI commands to put the endpoints in the right gardens and publish the gardens.

I also tweaked the logic that does the DLHub input/output wrapping/unwrapping after I found an issue testing end to end.

Discussion

Screenshot 2024-02-19 at 2 01 11 PM Screenshot 2024-02-19 at 2 01 35 PM

Testing

I tested this in the dev env. I confirmed the entrypoints and gardens rendered in the UI how I expected. I also did some test runs of the published entrypoints.

Documentation

No docs changes.


📚 Documentation preview 📚: https://garden-ai--411.org.readthedocs.build/en/411/

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d1b7f97) 76.08% compared to head (437b6c3) 76.08%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #411 +/- ## ======================================= Coverage 76.08% 76.08% ======================================= Files 46 46 Lines 2789 2789 ======================================= Hits 2122 2122 Misses 667 667 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.