Skip to content

Commit

Permalink
Make: Deprecate Anaconda
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Dec 28, 2023
1 parent 9e8ccf8 commit 1ec8097
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,10 @@ jobs:
with:
python-version: "3.11"

# Install dependencies:
# - build: for PyPi
# - anaconda-client: for Anaconda
# - urllib3: for Anaconda, as it is a dependency of anaconda-client
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build anaconda-client 'urllib3<2.0.0'
pip install build
- name: Build package
run: python -m build
Expand All @@ -88,12 +84,6 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish to Anaconda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
run: |
anaconda upload -u unum-cloud ./dist/*.tar.bz2
deploy_docs:
name: Deploy Docs
environment:
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,13 @@ decoded_text = processor.batch_decode(output[:, prompt_len:])[0]

The generative models can be used for chat-like experiences, where the user can provide both text and images as input.
To use that feature, you can start with the following CLI command:
image
```bashimage
uform-chat --model unum-cloud/uform-gen-chat --image_path=zebra.jpg
uform-chat --model unum-cloud/uform-gen-chat --image_path=zebra.jpg --device="cuda:0" --fp16

```bash
uform-chat --model unum-cloud/uform-gen-chat --image=zebra.jpg
uform-chat --model unum-cloud/uform-gen-chat \
--image="https://bit.ly/3tIVg9M" \
--device="cuda:0" \
--fp16
```

### Multi-GPU
Expand Down

0 comments on commit 1ec8097

Please sign in to comment.