Skip to content

Commit

Permalink
fix pip installs (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: Sri Tikkireddy <[email protected]>
  • Loading branch information
stikkireddy and Sri Tikkireddy authored Sep 23, 2024
1 parent 131909d commit f1fe289
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 48 deletions.
23 changes: 5 additions & 18 deletions docs/getting-started/audio-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ For the scope of this we will be using `EzDeployLite` to deploy a audio model.
## EzDeployLite

```python
%pip
install
mlflow - extensions == 0.13
.5
%pip install mlflow-extensions==0.14.0
dbutils.library.restartPython()

from mlflow_extensions.databricks.deploy.ez_deploy import EzDeployLite
Expand All @@ -38,13 +35,8 @@ You can query the model using image URLs. The model will return the desired outp
Installation:

```python
%pip
install
mlflow - extensions == 0.13
.5
%pip
install - U
openai
%pip install mlflow-extensions==0.14.0
%pip install -U openai
dbutils.library.restartPython()
```

Expand Down Expand Up @@ -93,13 +85,8 @@ image provided.
Installation:

```python
%pip
install
mlflow - extensions == 0.13
.5
%pip
install - U
openai
%pip install mlflow-extensions==0.14.0
%pip install -U openai
dbutils.library.restartPython()
```

Expand Down
4 changes: 1 addition & 3 deletions docs/getting-started/ezdeploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ This is meant for production use cases. It will support either vLLM or SGLang as
### 1. Install the library

```python
%pip
install
mlflow - extensions
%pip install mlflow-extensions
dbutils.library.restartPython()
```

Expand Down
8 changes: 2 additions & 6 deletions docs/getting-started/ezdeploylite.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ This is meant for dev and testing use cases. It will support either vLLM or SGLa
### 1. Install the library

```python
%pip
install
mlflow - extensions
%pip install mlflow-extensions
dbutils.library.restartPython()
```

Expand Down Expand Up @@ -54,9 +52,7 @@ use OpenAI, langchain, etc. we offer a compatability interface for those clients
Make sure you install the latest version of openai sdk.

```python
%pip
install - U
openai
%pip install -U openai
dbutils.library.restartPython()
```

Expand Down
4 changes: 1 addition & 3 deletions docs/getting-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ driver proxy. `EzDeploy` is a full deployment that is meant for production which
## 2: Installation

```python
%pip
install
mlflow - extensions
%pip install mlflow-extensions
dbutils.library.restartPython()
```

Expand Down
23 changes: 5 additions & 18 deletions docs/getting-started/vision-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ For the scope of this we will be using `EzDeployLite` to deploy a vision model.
## EzDeployLite

```python
%pip
install
mlflow - extensions == 0.13
.5
%pip install mlflow-extensions==0.14.0
dbutils.library.restartPython()

from mlflow_extensions.databricks.deploy.ez_deploy import EzDeployLite
Expand All @@ -39,13 +36,8 @@ You can query the model using image URLs. The model will return the desired outp
Installation:

```python
%pip
install
mlflow - extensions == 0.13
.5
%pip
install - U
openai
%pip install mlflow-extensions==0.14.0
%pip install -U openai
dbutils.library.restartPython()
```

Expand Down Expand Up @@ -94,13 +86,8 @@ image provided.
Installation:

```python
%pip
install
mlflow - extensions == 0.13
.5
%pip
install - U
openai
%pip install mlflow-extensions==0.14.0
%pip install -U openai
dbutils.library.restartPython()
```

Expand Down

0 comments on commit f1fe289

Please sign in to comment.