-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add an 'Import from hugging face' modal #2514
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @agatha197 and the rest of your teammates on Graphite |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 2.66% (-0.01% 🔻) |
141/5293 |
🔴 | Branches | 2.87% (-0% 🔻) |
101/3521 |
🔴 | Functions | 1.53% (-0.01% 🔻) |
27/1760 |
🔴 | Lines | 2.54% (-0.01% 🔻) |
132/5192 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | ... / ImportFromHuggingFaceModal.tsx |
0% | 0% | 0% | 0% |
Test suite run success
51 tests passing in 5 suites.
Report generated by 🧪jest coverage report action from f0f1be8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but it's better to merge later after finishing upcomming stacks for integrating the API.
fb9f567
to
7fd4eff
Compare
f0f1be8
to
d07378c
Compare
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.46% (-0.01% 🔻) |
337/6169 |
🔴 | Branches | 5.05% (-0% 🔻) |
214/4236 |
🔴 | Functions | 3.1% (-0.01% 🔻) |
63/2029 |
🔴 | Lines | 5.36% (-0.01% 🔻) |
323/6025 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | ... / ImportFromHuggingFaceModal.tsx |
0% | 0% | 0% | 0% |
Test suite run success
90 tests passing in 11 suites.
Report generated by 🧪jest coverage report action from c333321
7f49f61
to
77422f2
Compare
77422f2
to
f9c9efd
Compare
f9c9efd
to
d57d172
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
### TL;DR Add a new feature to import from Hugging Face in the VFolderListPage. ### What changed? 1. Modified `config.toml.sample` for indentation fix. 2. Added `ImportFromHuggingFaceModal` component to `react/src/components`. 3. Integrated `ImportFromHuggingFaceModal` in `VFolderListPage`. 4. Added new buttons and toggle functionality to `VFolderListPage.tsx`. 5. Updated language JSON files to include new translations for the Hugging Face import feature. ### How to test? 1. [Remove this line ](https://github.com/lablup/backend.ai-webui/pull/2514/files#diff-65e44191bce624d5e51a52298306cdece45d544cfb5ac1cc5fa4a202ddde6693R122) 2. Navigate to the data page. And click the model or model-store tab. 3. You can check the added modal by clicking an 'Import From Hugging Face' button. ### Screenshots ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/fe73fa7c-5b00-44a0-af85-4a292067614f.png) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/55a18038-4783-4c65-b012-c270a5da9e26.png) --- <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
d57d172
to
c333321
Compare
TL;DR
Add a new feature to import from Hugging Face in the VFolderListPage.
What changed?
config.toml.sample
for indentation fix.ImportFromHuggingFaceModal
component toreact/src/components
.ImportFromHuggingFaceModal
inVFolderListPage
.VFolderListPage.tsx
.How to test?
Screenshots
Checklist: (if applicable)