-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
revert: always rebuild frontend, override caching with _NEED_FRONTEND_BUILD=true #4427
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
Changes from all commits
9ec3ee8
fb3881a
1194022
eb8cce2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,6 +59,7 @@ if [ -d "$SCRIPT_DIR/frontend/dist" ]; then | |
| _NEED_FRONTEND_BUILD=false | ||
| fi | ||
| fi | ||
| _NEED_FRONTEND_BUILD=true | ||
| if [ "$_NEED_FRONTEND_BUILD" = false ]; then | ||
|
Comment on lines
44
to
45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This change removes the only Useful? React with 👍 / 👎. |
||
| echo "✅ Frontend already built and up to date -- skipping Node/npm check." | ||
| else | ||
|
|
||
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.
This unconditional override disables the
dist/fast-path, sosetup.shnow always executes the Node/npm + frontend rebuild path even when a prebuilt frontend is already bundled.unsloth studio setupresolves and runsstudio/setup.shfrom site-packages, and the wheel includesfrontend/distdata, so pip-installed Linux environments that previously could skip frontend tooling now require Node/network access and can fail setup unnecessarily.Useful? React with 👍 / 👎.