Skip to content

Commit

Permalink
Add Boltz
Browse files Browse the repository at this point in the history
  • Loading branch information
Liana64 committed Dec 3, 2024
1 parent f794a41 commit ebab2d9
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
shell: bash
run: |
if [[ -z "${{ inputs.appsToBuild }}" ]]; then
matrices=$(python ./scripts/actions/prepare-matrices.py "all" "${{ inputs.pushImages }}" "${{ inputs.force }}")
matrices=$(python ./scripts/prepare-matrices.py "all" "${{ inputs.pushImages }}" "${{ inputs.force }}")
else
if [[ -z "${{ inputs.channelsToBuild }}" ]]; then
matrices=$(python ./scripts/actions/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}")
matrices=$(python ./scripts/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}")
else
matrices=$(python ./scripts/actions/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}" "${{ inputs.channelsToBuild }}")
matrices=$(python ./scripts/prepare-matrices.py "${{ inputs.appsToBuild }}" "${{ inputs.pushImages }}" "${{ inputs.force }}" "${{ inputs.channelsToBuild }}")
fi
fi
echo "matrices=${matrices}" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
shell: bash
run: python ./scripts/actions/render-readme.py
run: python ./scripts/render-readme.py

- name: Commit Changes
shell: bash
Expand Down
4 changes: 3 additions & 1 deletion apps/boltz/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ENV \
USER root
WORKDIR /app

# TODO: Add uv
RUN \
groupadd --gid ${GID} ${USERNAME} \
&& useradd --uid ${UID} --gid ${GID} --create-home --shell /bin/bash ${USERNAME} \
Expand Down Expand Up @@ -64,6 +63,7 @@ RUN \
&& rm -rf /root/.cache /var/lib/apt/lists/* /tmp/* /var/tmp/*

COPY --chown=${UID}:${GID} ./apps/boltz/entrypoint.sh /entrypoint.sh
RUN chmod -R 755 /entrypoint.sh

USER ${USERNAME}
WORKDIR /cache
Expand All @@ -72,4 +72,6 @@ VOLUME ["/cache"]
WORKDIR /data
VOLUME ["/data"]

WORKDIR /app

ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]
5 changes: 2 additions & 3 deletions apps/boltz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ You can configure the docker image using the below environment variables

| Environment Variable | CLI Flag | Type | Default Value | Description |
| ---------------------- | ------------------------ | -------------------- | --------------------------- | ------------------------------------------------------------------- |
| `SHELL` | N/A | `FLAG` | `False` | Start docker container as a shell |
| `USERNAME` | N/A | `STR` | `rare` | Username for the container |
| `UID` | N/A | `INTEGER` | `900` | UID to use for the container |
| `GID` | N/A | `INTEGER` | `900` | GID to use for the container |
| `UID` | N/A | `INTEGER` | `900` | UID for the container |
| `GID` | N/A | `INTEGER` | `900` | GID for the container |
| `DATA_PATH` | `--out_dir` | `PATH` | `/data` | The path where predictions will be saved. |
| `CACHE_PATH` | `--cache` | `PATH` | `/cache` | The directory for downloading data and models. |
| `DEVICE_TYPE` | `--accelerator` | `[gpu, cpu, tpu]` | `gpu` | The type of accelerator to use for predictions. |
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/wip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function git_current_branch {
function gwip {
git add -A
git rm $(git ls-files --deleted) 2> /dev/null
git commit --no-gpg-sign -m "--wip-- [skipci]"
git commit --no-gpg-sign -m "--wip--"
}

function gunwip {
Expand Down

0 comments on commit ebab2d9

Please sign in to comment.