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

Improve scripts, readd vllm, add new iso build mode - "gui", update repositories, etc #32

Merged
merged 22 commits into from
Apr 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move patches to homedir, do not apply them
  • Loading branch information
sasha0552 authored Apr 19, 2024
commit 8b3f73046723c31e5a4ee8d4992b91dac87b3ca5
16 changes: 0 additions & 16 deletions airootfs/root/customize_airootfs/scripts/1000-automatic.sh.jinja2
Original file line number Diff line number Diff line change
@@ -11,22 +11,6 @@ pushd "automatic"

# clone submodules
git submodule update --init --recursive

# remove git dependency
sed -i '/installer.check_modified_files()/d' launch.py
sed -i '/installer.install_submodules()/d' launch.py
sed -i '/installer.update_wiki()/d' launch.py
sed -i 's/installer.check_timestamp()/False/g' launch.py

# remove internet dependency
sed -i '/installer.check_version()/d' launch.py
sed -i 's/lambda: {"choices": theme.list_themes()}, refresh=theme.refresh_themes/{"choices": ["black-teal"]}/g' modules/shared.py
sed -i 's/shared.opts.motd/False/g' modules/api/api.py

{% if platform == "cuda" %}
# drop pstate in idle
patch -p1 < "$CUSTOMIZE_AIROOTFS/patches/0000-automatic-drop-pstate-in-idle.patch"
{% endif %}
popd

# automatic dependencies
Original file line number Diff line number Diff line change
@@ -8,9 +8,4 @@ git clone "{{ repositories.koboldcpp }}"
pushd "koboldcpp"
# use specific revision
git checkout "{{ revisions.koboldcpp }}"

{% if platform == "cuda" %}
# drop pstate in idle
patch -p1 < "$CUSTOMIZE_AIROOTFS/patches/0000-koboldcpp-drop-pstate-in-idle.patch"
{% endif %}
popd