Skip to content

Conversation

@TParcollet
Copy link
Collaborator

This is a feature requested in #1509. We now can request a specific revision when using our interfaces.

@hbredin for some reasons, I can't add you as a reviewer so I asked someone from the team to do it. Please feel free to try the PR and let us know if it works well for you!

@TParcollet TParcollet added the ready to review Waiting on reviewer to provide feedback label Jul 20, 2022
@TParcollet TParcollet requested a review from pplantinga July 20, 2022 08:16
@hbredin
Copy link

hbredin commented Jul 21, 2022

Thanks @TParcollet!

LGTM though I must confess I like the source=repoId@revisionId API syntax better than source=repoId, revision=revisionId but that is probably just me.

Copy link
Collaborator

@pplantinga pplantinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this and everything seems to work! I was wondering if there were other instances of fetch() that ought to be updated, and came across speechbrain.pretrained.interfaces.foreign_class which doesn't seem to be referenced anywhere? And I also looked at the speechbrain.utils.parameter_transfer which doesn't seem straightforward to modify.

All this to say, LGTM.

@mravanelli
Copy link
Collaborator

Thank you all!

@mravanelli mravanelli merged commit c9d0f24 into speechbrain:develop Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to review Waiting on reviewer to provide feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants