Skip to content

Conversation

@reksar
Copy link
Contributor

@reksar reksar commented Oct 22, 2025

Allows to run a portable Web UI build via a symlink instead of running start_linux.sh or start_macos.sh from the project root dir.

Reproduction

# Mind the portable build!
wget https://github.com/oobabooga/text-generation-webui/releases/download/v3.15/textgen-portable-3.15-linux-cpu.zip
unzip textgen-portable-3.15-linux-cpu.zip
ln -s $(realpath text-generation-webui-3.15/start_linux.sh) /usr/local/bin/webui

Then running webui will cause an unnecessary Conda installation, because the portable_env is not found.

oobabooga and others added 3 commits October 10, 2025 10:46
Prevents unnecessary installation of Conda when 'start_linux.sh'
or 'start_macos.sh' is run via a symlink from another path.

This fix allows the 'portable_env' to be found in the correct path.
@oobabooga
Copy link
Owner

That's a nice improvement, thanks!

@oobabooga oobabooga merged commit 138cc65 into oobabooga:dev Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants