Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion clients/python/llmengine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.0.0.beta10"
__version__ = "0.0.0.beta11"

from typing import Sequence

Expand Down
8 changes: 4 additions & 4 deletions clients/python/llmengine/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ def download(

This API can be used to download the resulting model from a fine-tuning job.
It takes the `model_name` and `download_format` as parameter and returns a
response object which contains a list of urls associated with the fine-tuned model.
The user can then download these urls to obtain the fine-tuned model. If called
on a nonexistent model, an error will be thrown.
response object which contains a dictonary of filename, url pairs associated
with the fine-tuned model. The user can then download these urls to obtain
the fine-tuned model. If called on a nonexistent model, an error will be thrown.

Args:
model_name (`str`):
Expand All @@ -404,7 +404,7 @@ def download(
=== "Response in JSON"
```json
{
"urls": {"my_model_file": 'https://url-to-my-model-weights'}
"urls": {"my_model_file": "https://url-to-my-model-weights"}
}
```
"""
Expand Down
2 changes: 1 addition & 1 deletion clients/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "scale-llm-engine"
version = "0.0.0.beta10"
version = "0.0.0.beta11"
description = "Scale LLM Engine Python client"
license = "Apache-2.0"
authors = ["Phil Chen <phil.chen@scale.com>"]
Expand Down
2 changes: 1 addition & 1 deletion clients/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
setup(
name="scale-llm-engine",
python_requires=">=3.7",
version="0.0.0.beta10",
version="0.0.0.beta11",
packages=find_packages(),
)
8 changes: 5 additions & 3 deletions docs/guides/endpoint_creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ track the status of your model endpoint. In general, you'll need to wait after t
model creation step for the model endpoint to be ready and available for use.
An example is provided below:

*Assuming the user has created a model named "llama-2-7b.suffix.2023-07-18-12-00-00"*

```
model_name = "llama-2-7b.suffix.2023-07-18-12-00-00"
model_name = "test_deploy"
model = Model.create(name=model_name, model="llama-2-7b", inference_frame_image_tag="0.9.4")
response = Model.get(model_name)
while response.status != "READY":
while response.status.name != "READY":
print(response.status.name)
time.sleep(60)
response = Model.get(model_name)
```
Expand Down