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

add OpenVoice #1633

Merged
merged 29 commits into from
Feb 5, 2024
Merged

add OpenVoice #1633

merged 29 commits into from
Feb 5, 2024

Conversation

pavel-esir
Copy link
Contributor

@pavel-esir pavel-esir commented Jan 22, 2024

  • add OpenVoice notebook
  • ticket CVS-130638

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@pavel-esir pavel-esir marked this pull request as draft January 22, 2024 11:27
@pavel-esir pavel-esir changed the title [wip] add OpenVoice add OpenVoice Jan 22, 2024
@pavel-esir pavel-esir marked this pull request as ready for review January 22, 2024 23:22
@eaidova eaidova added the new notebook new jupyter notebook label Jan 23, 2024
@andrei-kochin andrei-kochin requested review from a team, apaniukov, sbalandi and aleksandr-mokrov and removed request for a team January 24, 2024 13:13
Copy link
Contributor

openvino is still needed to install here. And add -q to all pip install:

%pip install -q package

View entire conversation on ReviewNB

Copy link

review-notebook-app bot commented Jan 31, 2024

View / edit / reply to this conversation on ReviewNB

aleksandr-mokrov commented on 2024-01-31T11:48:42Z
----------------------------------------------------------------

Line #2.    demo.close()

It is not required anymore


pavel-esir commented on 2024-01-31T16:07:27Z
----------------------------------------------------------------

done

Copy link

review-notebook-app bot commented Jan 31, 2024

View / edit / reply to this conversation on ReviewNB

aleksandr-mokrov commented on 2024-01-31T11:52:19Z
----------------------------------------------------------------

Line #1.    %pip install ffmpeg-downloader

-q


pavel-esir commented on 2024-01-31T16:07:36Z
----------------------------------------------------------------

done

Copy link
Contributor Author

done


View entire conversation on ReviewNB

Copy link
Contributor Author

done


View entire conversation on ReviewNB

Copy link
Contributor Author

done


View entire conversation on ReviewNB

Copy link

review-notebook-app bot commented Feb 1, 2024

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-02-01T12:38:39Z
----------------------------------------------------------------

please add title to notebook


pavel-esir commented on 2024-02-02T10:57:20Z
----------------------------------------------------------------

done

Copy link

review-notebook-app bot commented Feb 1, 2024

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-02-01T12:38:41Z
----------------------------------------------------------------

This notebooks provides example of converting original OpenVoice model (https://github.com/myshell-ai/OpenVoice) to OpenVINO IR format for faster inference. ->

This notebooks provides example of converting PyTorch OpenVoice model to OpenVINO IR


pavel-esir commented on 2024-02-02T10:57:10Z
----------------------------------------------------------------

done

Copy link

review-notebook-app bot commented Feb 1, 2024

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-02-01T12:38:41Z
----------------------------------------------------------------

this comment looks strange in review window, could you please remove when apply todo. Depends from usage inside model, it maybe not a problem to wrap scalar to torch.tensor as example input for tracing only (e.g. if they used only in math operations with tensors (mul, add e.t.c.)


pavel-esir commented on 2024-02-02T10:55:59Z
----------------------------------------------------------------

Done: when scalars are wrapped as torch.tensor it works fine. Removed todo

Copy link

review-notebook-app bot commented Feb 1, 2024

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-02-01T14:01:53Z
----------------------------------------------------------------

Line #14.    import urllib.request

downloading utils file used for making notebook standalone and provide opportunity to run it in isolated environment where there is no access to additional files (e.g. google colab). It is slightly strange that we downloading utils, but in the same time at the end of notebook, we import python module with gradio demo. I recommend to align (download both or use both from repo). Also you can remove both dependencies - move gradio functions into notebook and use hf API for downloading files instead of notebook utils


pavel-esir commented on 2024-02-02T10:56:59Z
----------------------------------------------------------------

Done. Now no extra utils/py files are needed, notebooks alone is enough

Copy link
Contributor Author

Done: when scalars are wrapped as torch.tensor it works fine. Removed todo


View entire conversation on ReviewNB

Copy link
Contributor Author

Done. Now no extra utils/py files are needed, notebooks alone is enough


View entire conversation on ReviewNB

Copy link
Contributor Author

done


View entire conversation on ReviewNB

Copy link
Contributor Author

done


View entire conversation on ReviewNB

@eaidova
Copy link
Collaborator

eaidova commented Feb 2, 2024

@pavel-esir please make linter happy https://github.com/openvinotoolkit/openvino_notebooks/actions/runs/7754919412/job/21149238378?pr=1633

@eaidova eaidova merged commit 70e5e71 into openvinotoolkit:main Feb 5, 2024
15 checks passed
@pavel-esir pavel-esir deleted the add_openvoice branch February 5, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new notebook new jupyter notebook
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants