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

feat: import from HuggingFace and show result with modal #2717

Commits on Sep 23, 2024

  1. feat: import from HuggingFace and show result with modal (#2717)

    ### TR;DR
    Import or import and start a new service from HuggingFace and show the result with Modal.
    
    ### How to test?
    - [ ] import only works well.
    - [ ] import & start service works well.
    - [ ] folder name, service name setting
    - [ ] result modal
        - import only
          - [ ] user can access a new model folder by clicking 'Open model folder' button.
          - [ ] admin can access a new model-store project folder by clicking 'Open model folder'.
          - [ ] but, admin cannot access a new model-store project folder when the current project is not 'model-store'.
        - import & start service
          - [ ] same as import only for folders
          - [ ] added redirect button that can visit new service (allow for both of user, admin)
        - common
          - [ ] folder name and service name are displayed below buttons.
    
    ### Screenshots
    - Only for (super)admin, the current project is not 'model-store'.
    ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/83a9fb35-deda-4565-b73b-e8b946a4ba02.png)
    
    ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/e6218cae-853d-4335-8152-59c51608afd7.png)
    - After clicking import & start service
    ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/ab43ecff-4570-4972-ad52-f4271713a7e8.png)
    - After clicking import with 'import only' option
    ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/3db7daf8-99bc-4bed-bdad-36e96cf5ff67.png)
    
    **Checklist:** (if applicable)
    
    - [x] Mention to the original PR: https://app.graphite.dev/github/pr/lablup/backend.ai-webui/2514/Add-an-Import-from-hugging-face-modal
    - [ ] Documentation
    - [x] Minium required manager version: 24.03
    - [x] Specific setting for review (eg., KB link, endpoint or how to setup):
    - [x] Minimum requirements to check during review
    - [ ] Test case(s) to demonstrate the difference of before/after
    agatha197 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9b7c75e View commit details
    Browse the repository at this point in the history