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

[shortfin llm integration tests] Add tinystories llama2 25m model as a smoke test #936

Merged
merged 12 commits into from
Feb 14, 2025

Conversation

renxida
Copy link
Contributor

@renxida renxida commented Feb 7, 2025

This is a tiny model that would take less than a minute to download / export / compile.

The smoke test is intended to run before we run the full integration CI suite. This would give us early visibility into shortfin failures & save CI resources.

This PR adds an integration_tests function to:

  • download hf repo with model.safetensors
  • convert to gguf
  • convert to irpa

Closes #933

@renxida renxida changed the title Augment model_management.py to support llama2 25m trained on tinystories [shortfin llm integration tests] Add tinystories llama2 25m model as a smoke test Feb 12, 2025
@renxida renxida marked this pull request as ready for review February 12, 2025 20:22
@renxida renxida requested a review from stbaione February 12, 2025 20:22
@renxida renxida requested a review from stbaione February 13, 2025 17:36
@renxida
Copy link
Contributor Author

renxida commented Feb 13, 2025

Comments addressed. Re-review pls.

Coming next in follow-up prs:

  • dedupe more code between here and sharktank's hf_datasets.py
  • maybe move model_management and related files into shark-ai repo. Not sure what's the plan / if it's ok to make it less of a stub

@renxida renxida requested a review from ScottTodd February 13, 2025 19:34
@renxida renxida merged commit 2600b51 into nod-ai:main Feb 14, 2025
33 of 34 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.

Tiny model for shortfin CI
2 participants