Skip to content

Commit

Permalink
Merge branch 'main' into target-latency
Browse files Browse the repository at this point in the history
  • Loading branch information
sauyon committed Sep 20, 2023
2 parents a4d4850 + ec2dc2a commit ce403c1
Show file tree
Hide file tree
Showing 521 changed files with 22,547 additions and 6,554 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ RUN --mount=type=cache,target=/var/lib/apt \
# Clean up
&& rm -rf /var/lib/apt/lists/* /tmp/library-scripts/

COPY requirements/*.txt /tmp/pip-tmp/
RUN --mount=type=cache,target=/root/.cache/pip \
pip install --no-warn-script-location -r /tmp/pip-tmp/dev-requirements.txt -r /tmp/pip-tmp/docs-requirements.txt \
&& rm -rf /tmp/pip-tmp
pip install --no-warn-script-location pdm \
&& pre-commit install && pdm sync -dG testing -G tooling

# Setting the ENTRYPOINT to docker-init.sh will configure non-root access to
# the Docker socket if "overrideCommand": false is set in devcontainer.json.
Expand Down
5 changes: 3 additions & 2 deletions .devcontainer/lifecycle/post-start
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ git config --global pull.ff only
# fetch all tags
git fetch upstream --tags && git pull

# install editable wheels & tools for bentoml
pip install -e ".[tracing,grpc]" -r requirements/dev-requirements.txt
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -

~/.local/bin/pdm sync -gp . -d -G io -G grpc -G triton -G tracing -G monitor-otlp -G grpc-reflection -G grpc-channelz -G aws

# setup docker buildx
docker buildx install
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
typings/**/*.pyi linguist-generated=true
*_pb2*.py linguist-generated=true
*_pb2*.pyi linguist-generated=true
pdm.lock linguist-generated=true
* text=auto eol=lf
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Fixes #(issue)

- [ ] Does the Pull Request follow [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/#summary) naming? Here are [GitHub's
guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) on how to create a pull request.
- [ ] Does the code follow BentoML's code style, both `make format` and `make lint` script have passed ([instructions](https://github.com/bentoml/BentoML/blob/main/DEVELOPMENT.md#style-check-auto-formatting-type-checking))?
- [ ] Does the code follow BentoML's code style, `pre-commit run -a` script has passed ([instructions](https://github.com/bentoml/BentoML/blob/main/DEVELOPMENT.md#style-check-auto-formatting-type-checking))?
- [ ] Did you read through [contribution guidelines](https://github.com/bentoml/BentoML/blob/main/CONTRIBUTING.md#ways-to-contribute) and follow [development guidelines](https://github.com/bentoml/BentoML/blob/main/DEVELOPMENT.md#start-developing)?
- [ ] Did your changes require updates to the documentation? Have you updated
those accordingly? Here are [documentation guidelines](https://github.com/bentoml/BentoML/tree/main/docs) and [tips on writting docs](https://github.com/bentoml/BentoML/tree/main/docs#writing-documentation).
Expand Down
Loading

0 comments on commit ce403c1

Please sign in to comment.