From 1ec8097b8559b669a1e0417f5b40952d010ff53d Mon Sep 17 00:00:00 2001 From: Ash Vardanian <1983160+ashvardanian@users.noreply.github.com> Date: Thu, 28 Dec 2023 09:46:08 -0800 Subject: [PATCH] Make: Deprecate Anaconda --- .github/workflows/release.yml | 12 +----------- README.md | 11 +++++++---- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb2ce2a..230b303 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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: diff --git a/README.md b/README.md index 5f57c68..d72374c 100755 --- a/README.md +++ b/README.md @@ -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