mirror of
https://github.com/unslothai/unsloth
synced 2026-04-21 13:37:39 +00:00
fix: install data-designer plugin non-editable for Colab compatibility
Editable installs (-e) work via a .pth file that is only processed at Python startup. In Colab the kernel is already running when setup.sh installs the plugin, so the .pth file never gets picked up and data_designer_unstructured_seed is not importable. Remove -e so pip copies the package files directly into site-packages, which the live kernel can find immediately. Local venv installs are unaffected since the venv is always created fresh before install.
This commit is contained in:
parent
6baa181890
commit
3ab282fd40
1 changed files with 0 additions and 1 deletions
|
|
@ -270,7 +270,6 @@ def install_python_stack() -> int:
|
|||
"Installing local data-designer unstructured plugin",
|
||||
"--no-cache-dir",
|
||||
"--no-deps",
|
||||
"-e",
|
||||
str(LOCAL_DD_UNSTRUCTURED_PLUGIN),
|
||||
constrain = False,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue