Skip to content

Conversation

@i-am-epic
Copy link
Contributor

Hello @patil-suraj can you verify it
Thanks

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 29, 2022

The documentation is not available anymore as the PR was closed or merged.

@i-am-epic
Copy link
Contributor Author

i-am-epic commented Sep 29, 2022

Black says : Cannot parse: 100:34: def init(self, channels=N one, out_channels=None, use_conv=False, fir_kernel=(1, 3, 3, 1)):
But I have not modified those lines,
can anyone help me understand this issue Thanks :)

@patrickvonplaten
Copy link
Contributor

Hey @i-am-epic - could you try updating your black version?

Re-opening the PR :-)

Copy link
Contributor Author

@i-am-epic i-am-epic left a comment

Choose a reason for hiding this comment

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

renamed variables x and p

@i-am-epic
Copy link
Contributor Author

This was my first Contribution,
any more changes let me know,
Thank you

Copy link
Contributor

@patil-suraj patil-suraj left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the PR @i-am-epic ! Here we should only rename the single letter variables. Other names are well chosen so let's not change them. We should update the PR accordingly.

@i-am-epic i-am-epic requested a review from patil-suraj October 1, 2022 07:40
@i-am-epic
Copy link
Contributor Author

@patil-suraj can you verify the updated code
Thanks :)

Copy link
Contributor

@patil-suraj patil-suraj left a comment

Choose a reason for hiding this comment

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

Looks good, thank you for working on this. Should be good to merge once the tests pass.

@patrickvonplaten patrickvonplaten merged commit 7265dd8 into huggingface:main Oct 4, 2022
@i-am-epic
Copy link
Contributor Author

Thanks for the guidance and help,
as this was my first contribution and PR, it helped me to learn a lot and this is just the beginning of my contributions.
:)

prathikr pushed a commit to prathikr/diffusers that referenced this pull request Oct 26, 2022
* renamed single letter variables

* renamed x to meaningful variable in resnet.py

Hello @patil-suraj can you verify it
Thanks

* Reformatted using black

* renamed x to meaningful variable in resnet.py

Hello @patil-suraj can you verify it
Thanks

* reformatted the files

* modified unboundlocalerror in line 374

* removed referenced before error

* renamed single variable x -> hidden_state, p-> pad_value

Co-authored-by: Nikhil A V <[email protected]>
Co-authored-by: Patrick von Platen <[email protected]>
Co-authored-by: Suraj Patil <[email protected]>
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* renamed single letter variables

* renamed x to meaningful variable in resnet.py

Hello @patil-suraj can you verify it
Thanks

* Reformatted using black

* renamed x to meaningful variable in resnet.py

Hello @patil-suraj can you verify it
Thanks

* reformatted the files

* modified unboundlocalerror in line 374

* removed referenced before error

* renamed single variable x -> hidden_state, p-> pad_value

Co-authored-by: Nikhil A V <[email protected]>
Co-authored-by: Patrick von Platen <[email protected]>
Co-authored-by: Suraj Patil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants