-
Notifications
You must be signed in to change notification settings - Fork 430
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
[Discussion] "tune download" behavior is unintuitive #411
Comments
Thanks for opening this, @kartikayk! A couple of thoughts:
|
Fair point on the name! Hmm, I don't think |
Can we assume that users will only ever download models using the download tool? Are we going to want to add any other types of download support to the tool? We currently download datasets from HF as well, though that looks to be done as part of the recipe. |
I don't think this is a good assumption. Users can get the model in a variety of ways. Though I think for a tool like |
My comment wasn't about whether users would download their models from somewhere else, but rather around whether we might want to provide additional download functionality for other types of data e.g. datasets. I'm in favor of removing model restrictions from the download tool, we can always warn if the user downloads something we don't explicitly support out of the box. |
Good point, I think our current approach has been to use the |
@kartikayk Can this be closed? |
@joecummings yup sounds good. The last bit of clean up with download would be to just log the stuff that we "ignore". I realized this as I was overriding it this weekend. It might not be immediately obvious to folks unless they look at |
As I walked through
tune download
as a user, I found the behavior unintuitive. Concretely:Name.
download
should be renamed tohf_download
. That's what this command does and without any information, I get the impression that I can use this to download a model from any source.Restrictions.
download
currently restricts my choices to what is defined in_SUPPORTED_MODEL_REPO_IDS
. This seems arbitrarily restrictive since I could download a model, write my own conversion script and use TorchTune to finetune the model. This was the use case I had in mind and i ended up having to modify code to do this. The behavior I would expect in this case is, let the user download the model they want but raise a warning if the model is not supported OOTB. Anywaysconvert-checkpoint
will raise an error, so I'm not too concerned about the user shooting themselves in the foot by fine-tuning a model we don't support.The text was updated successfully, but these errors were encountered: