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
Upload models using transformers-cli fails #7480
Comments
Yes this is a known issue with our current system that will be fixed in ~1 month. In the meantime, if you can upload to a different S3 bucket I can cp the files to your account on ours. Would you be able to do this? |
I don't have access to S3. However, I uploaded the model in my dropbox: Is it possible to download and upload it from the dropbox folder? |
Super I'll take care of it! |
model is uploaded here: https://huggingface.co/Rostlab/prot_t5_xl_bfd |
Perfect, thanks a lot @patrickvonplaten for your help. I will test the model to make sure everything is working as expected. Should we close this issue as it solved my current problem, or should we leave it open until the "transformers-cli" uploading problem is solved? I will leave it to you. |
Let's leave it open :-) |
Hi! I'm having an issue uploading a model as well. I've tried several different iterations of the CLI command to get it to work. I'm following the instructions from the model sharing docs. Here's the info about my setup:
First, I tried
Then I tried nesting it under a directory matching my HuggingFace username, so now the path is
If there is not a fix available for this at the moment, would it be possible to have my model uploaded via Dropbox as well? Thanks! |
Hey @chambliss - it looks like you are uploading the wrong folder. Instead of running
you should run
I think |
I'll second that. If |
@patrickvonplaten @julien-c Thanks for the response guys! I'm not sure why the directory wasn't found the first time, but I tried it again just now (from inside the /chambliss directory, so As a user, it is a little confusing for a reference to the correct directory not to work, and to have to be exactly one level above the directory in order for the upload to succeed. The example given on the page ( Thanks again for the help! |
no, it is indeed supposed to work as you describe, specifying the dir from any point in your filesystem. Let us know if that's not the case. |
Will reopen this for clarity until the fix mentioned in #8480 (comment) is deployed |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Ok, closing this for real now! 😎 |
Environment info
transformers
version: 3.0.2Who can help
Model Cards: @julien-c
T5: @patrickvonplaten
Information
Model I am using T5:
The problem arises when using:
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
Command:
transformers-cli upload ./prot_t5_xl_bfd/ --organization Rostlab
Error:
Expected behavior
I am trying to upload our T5-3B model using transformers-cli, but it always fails and gives "BrokenPipeError".
It only uploads small files like configuration files but it fails for the model files.
I have tried two different machines and both of them gives the same error.
The text was updated successfully, but these errors were encountered: