-
Notifications
You must be signed in to change notification settings - Fork 863
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
Fixed Text2Speech synthesis as NVIDIA models' URL required an update #762
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NVIDIA PyTorch model download tested and MAR file generation using torch-model-archiver
too. It works! 🤗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alvarobartt: The tacotron2 and waveglow model weight file names are being changed here which are used in waveglow handler, due to which the model registration will fail.
Please update the handler as well.
You're right @harshbafna I forgot to commit those changes... Now everything should be right! 👍🏻 |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated handler refs to the updated version of Waveglow and Tacotron2 NVIDIA models as requested by @harshbafna
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@alvarobartt Can you please check if picking the waveglow/tacotron2 models from PyTorch Hub might be a better option, so that we don't have to deal with breaking path changes in future? https://pytorch.org/hub/nvidia_deeplearningexamples_waveglow/ |
Hi @chauhang! Yes, indeed that's a better option/way to proceed, the thing is that the NVIDIA DeepLearning examples repository on the branch torchhub is also facing the same issue, which means that the |
Quick update! It seems that people from NVIDIA already solved this using some temp fallback to backup model checkpoints for all the models mentioned above (Tacotron2, Waveglow) and also for SSD. As you can see at NVIDIA/DeepLearningExamples@3e961c3 So on, this issue regarding Anyway, tomorrow I will likely update the URLs for the Tacotron2 and Waveglow model checkpoints downloaded in the P.S.: Indeed they ended up updating the URLs just like I did on the PR I submitted (NVIDIA/DeepLearningExamples#727), but instead of merging it they updated it theirselved (don't ask me why) in this commit NVIDIA/DeepLearningExamples@b759609, so the URLs I included in the |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created requirements.txt
for Waveglow as requested by @chauhang and @harshbafna in #761, so as to avoid its manual installation on the server as TorchServe already handles this via that file on the MAR.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Description
As the NVIDIA Waveglow and Tacotron2 PyTorch pre-trained models have been updated, their URLs too and the previous versions of those models seem to be unavailable, so that the URLs required an update.
This fix should probably be applied to all NVIDIA model URLs in case they do not work. As the previous URLs are currently unavailable, the error code while trying to retrieve those either using
wget
orcurl
is HTTP 404.More information regarding all the NVIDIA Catalog Models can be found at: https://ngc.nvidia.com/catalog/models?orderBy=modifiedDESC&pageNumber=1&query=&quickFilter=models&filters=
Fixes #761
References shared by @harshbafna that should probably be also fixed:
Type of change
Please delete options that are not relevant.