From 556161e803dd8dbc878fe3e7284d0648809a5134 Mon Sep 17 00:00:00 2001 From: "Richard Edgar (Microsoft)" Date: Fri, 10 May 2024 12:19:26 -0400 Subject: [PATCH] Fix typo --- .github/workflows/pypi_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index a01ee7405..e0ac98ea0 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -150,7 +150,7 @@ jobs: name: Install guidance from wheels - run: pip install transformers torch name: Other installs - - run: python -c "import guidance; lm = guidance.models.Transformers('gpt2'); lm += '1,2,3,4,5,' + gen('num', max_tokens=5); assert lm['num'].startswith("6")" + - run: python -c "import guidance; lm = guidance.models.Transformers('gpt2'); lm += '1,2,3,4,5,' + guidance.gen('num', max_tokens=5); assert lm['num'].startswith("6")" name: Run smoke test publish_wheels: @@ -163,7 +163,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: collected_dist_files - path: wheelhouse + path: dist - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1