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

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from
Draft

Conversation

timurcarstensen
Copy link
Collaborator

@timurcarstensen timurcarstensen commented Feb 11, 2025

closes #229

Features:

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

TODOs:

  • whittle compare workflow to compare pruning/kd/nas
  • fixed finetuning workflow (maybe update with what gabi has used the last few days)
  • 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
gabikadlecova and others added 29 commits February 12, 2025 18:07
… both litgpt-like checkpoints and whittle subnets. Fix bins in test.
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
2 participants