Skip to content

Commit

Permalink
Merge pull request #11 from bentoml/nightly
Browse files Browse the repository at this point in the history
Merge Nightly
  • Loading branch information
bojiang authored Aug 12, 2024
2 parents 448dfe3 + 5810b02 commit bc3eb46
Show file tree
Hide file tree
Showing 2,896 changed files with 17,150 additions and 17,039 deletions.

This file was deleted.

49 changes: 0 additions & 49 deletions bentoml/bentos/gemma/2b-instruct-fp16-f020/src/bentofile.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gemma:2b-instruct-fp16-f020
# gemma:2b-instruct-fp16-f6ee

[![pypi_status](https://img.shields.io/badge/BentoML-1.3.0-informational)](https://pypi.org/project/BentoML)
[![pypi_status](https://img.shields.io/badge/BentoML-1.3.1-informational)](https://pypi.org/project/BentoML)
[![documentation_status](https://readthedocs.org/projects/bentoml/badge/?version=latest)](https://docs.bentoml.com/)
[![join_slack](https://badgen.net/badge/Join/BentoML%20Slack/cyan?icon=slack)](https://l.bentoml.com/join-slack-swagger)
[![BentoML GitHub Repo](https://img.shields.io/github/stars/bentoml/bentoml?style=social)](https://github.com/bentoml/BentoML)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ components:
content:
anyOf:
- type: string
- items:
anyOf:
- $ref: '#/components/schemas/ChatCompletionContentPartTextParam'
- $ref: '#/components/schemas/ChatCompletionContentPartRefusalParam'
type: array
- type: 'null'
title: Content
function_call:
Expand All @@ -18,6 +23,11 @@ components:
name:
title: Name
type: string
refusal:
anyOf:
- type: string
- type: 'null'
title: Refusal
role:
const: assistant
enum:
Expand Down Expand Up @@ -48,6 +58,22 @@ components:
- type
title: ChatCompletionContentPartImageParam
type: object
ChatCompletionContentPartRefusalParam:
properties:
refusal:
title: Refusal
type: string
type:
const: refusal
enum:
- refusal
title: Type
type: string
required:
- refusal
- type
title: ChatCompletionContentPartRefusalParam
type: object
ChatCompletionContentPartTextParam:
properties:
text:
Expand Down Expand Up @@ -414,8 +440,12 @@ components:
ChatCompletionSystemMessageParam:
properties:
content:
anyOf:
- type: string
- items:
$ref: '#/components/schemas/ChatCompletionContentPartTextParam'
type: array
title: Content
type: string
name:
title: Name
type: string
Expand All @@ -433,8 +463,12 @@ components:
ChatCompletionToolMessageParam:
properties:
content:
anyOf:
- type: string
- items:
$ref: '#/components/schemas/ChatCompletionContentPartTextParam'
type: array
title: Content
type: string
role:
const: tool
enum:
Expand Down Expand Up @@ -1021,7 +1055,7 @@ info:
contact:
email: contact@bentoml.com
name: BentoML Team
description: "# gemma:dev\n\n[![pypi_status](https://img.shields.io/badge/BentoML-1.3.0-informational)](https://pypi.org/project/BentoML)\n\
description: "# gemma:dev\n\n[![pypi_status](https://img.shields.io/badge/BentoML-1.3.1-informational)](https://pypi.org/project/BentoML)\n\
[![documentation_status](https://readthedocs.org/projects/bentoml/badge/?version=latest)](https://docs.bentoml.com/)\n\
[![join_slack](https://badgen.net/badge/Join/BentoML%20Slack/cyan?icon=slack)](https://l.bentoml.com/join-slack-swagger)\n\
[![BentoML GitHub Repo](https://img.shields.io/github/stars/bentoml/bentoml?style=social)](https://github.com/bentoml/BentoML)\n\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
service: service:VLLM
name: gemma
version: 2b-instruct-fp16-f020
bentoml_version: 1.3.0
creation_time: '2024-07-24T08:19:28.675802+00:00'
version: 2b-instruct-fp16-f6ee
bentoml_version: 1.3.1
creation_time: '2024-08-12T08:43:00.894615+00:00'
labels:
model_name: google/gemma-2b-it
openllm_alias: 2b,2b-instruct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ RUN curl -LO https://astral.sh/uv/install.sh && \
ARG BENTO_USER=bentoml
ARG BENTO_USER_UID=1034
ARG BENTO_USER_GID=1034

RUN groupadd -g $BENTO_USER_GID -o $BENTO_USER && useradd -m -u $BENTO_USER_UID -g $BENTO_USER_GID -o -r $BENTO_USER
ARG HF_TOKEN=
ENV HF_TOKEN=$HF_TOKEN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PIP_ARGS=()
REQUIREMENTS_TXT="$BASEDIR/requirements.txt"
REQUIREMENTS_LOCK="$BASEDIR/requirements.lock.txt"
WHEELS_DIR="$BASEDIR/wheels"
BENTOML_VERSION=${BENTOML_VERSION:-1.3.0}
BENTOML_VERSION=${BENTOML_VERSION:-1.3.1}
# Install python packages, prefer installing the requirements.lock.txt file if it exist
pushd "$BASEDIR" &>/dev/null
if [ -f "$REQUIREMENTS_LOCK" ]; then
Expand Down
Loading

0 comments on commit bc3eb46

Please sign in to comment.