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

feat: whittle command line workflows #246

Merged
merged 100 commits into from
Feb 26, 2025
Merged

feat: whittle command line workflows #246

merged 100 commits into from
Feb 26, 2025

Conversation

timurcarstensen
Copy link
Collaborator

@timurcarstensen timurcarstensen commented Feb 11, 2025

closes #229

Features:

  • brings cli interface to:
  • pretrain, evaluate, search, chat, serve, download
  • pruning

TODOs:

  • tests (can come after paper submission)
  • make mypy happy

Notes:

  • there's a bug with python 3.12 and argparse (see this issue). To avoid this we need to install jsonargparse[signatures]>=4.35.0 which conflicts with the current version of litgpt that we use. So for now, the cli interface for 3.12 is broken
  • In the most recent release of syne-tune on PyPI we get a lot of the warnings/info messages that some dependencies are not installed, this makes the UX not as nice when using CLI workflows since we get those messages multiple times in one CLI workflow. Hence, I switched to installing from source. I could also fix a commit, wdyt @aaronkl ?

@timurcarstensen timurcarstensen self-assigned this Feb 11, 2025
@timurcarstensen timurcarstensen marked this pull request as draft February 11, 2025 00:36
@timurcarstensen timurcarstensen marked this pull request as ready for review February 24, 2025 15:43
Copy link
Collaborator

@gabikadlecova gabikadlecova left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@timurcarstensen timurcarstensen merged commit f63e03a into main Feb 26, 2025
9 checks passed
@timurcarstensen timurcarstensen deleted the litgpt-style-cli branch February 26, 2025 19:26
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.

Add command line scripts for whittle workflows
3 participants