Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] Add smoke test of wheels #813

Merged
merged 5 commits into from
May 10, 2024
Merged

Conversation

riedgar-ms
Copy link
Collaborator

Add some basic testing of the wheels built during the release workflow

Comment on lines +157 to +158
- run: python -c "import guidance; lm = guidance.models.Transformers('gpt2'); lm += '1,2,3,4,5,' + guidance.gen('num', max_tokens=5, temperature=0); print(f'\n{str(lm)=}\n'); assert lm['num'].startswith('6')"
name: Run smoke test
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love that we have this from the wheel installation

@Harsha-Nori
Copy link
Collaborator

LGTM

@Harsha-Nori Harsha-Nori merged commit 07955f8 into main May 10, 2024
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants