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

Unattributed / stolen code in PR #127

Open
city96 opened this issue Jul 1, 2024 · 5 comments
Open

Unattributed / stolen code in PR #127

city96 opened this issue Jul 1, 2024 · 5 comments

Comments

@city96
Copy link

city96 commented Jul 1, 2024

I've been alerted that the following merged PR #59 seems to take large large parts of code from the following ComfyUI custom node with no attribution to me or chaojie who created the initial draft implementation in the ExtraModels repository. The apache2 license for the ComfyUI related parts of the code is also not preserved/present.

There also seems to be a number of odd design choices due to the copypaste nature of the code, such as the dtype being cast twice after model creation instead of once like in the original repo

The original PR also briefly used the node name "DiTCheckpointLoader", which would have conflicted with a node already present in the original repository meant for loading the original DiT models from facebook/meta, probably another error during copying.

There are numerous other examples, such as this comment that I added about the performance impacts of my design choice being now part of this file here with no added context.

I'm not sure what the best solution is. The PR in question clearly goes against the principles of open source, and is not transformative in nature.

@city96
Copy link
Author

city96 commented Jul 1, 2024

Tagging @wpdong0727 though it looks like the account doesn't have any other commits/activity.

@xuhuaren
Copy link
Contributor

xuhuaren commented Jul 2, 2024

our code based on #59, this PR seems did't refer your work. I can contact this PR author and talk about this issue.

@city96
Copy link
Author

city96 commented Jul 2, 2024

this PR seems did't refer your work

Please double check the linked references and comments. Almost all ComfyUI-specific parts in that PR are 1:1 copied including the comments.

Original commit added on May 20th

image

@xuhuaren
Copy link
Contributor

xuhuaren commented Jul 4, 2024

Dear city96, we have verified that many of the files in that PR indeed use the functions you wrote. Could we add your GitHub project to the reference section in the next version? We were not aware that he referenced your work before merging this PR, and he did not inform us either. We are very sorry.

Dear city96, we have verified that many of the files in that PR indeed use the functions you wrote. Could we add your GitHub project to the reference section in the next version? We were not aware that he referenced your work before merging this PR, and he did not inform us either. We are very sorry.

@city96
Copy link
Author

city96 commented Jul 4, 2024

Thank you for getting back to me on this. Adding a reference in the readme or even just a file header to the relevant file(s) is perfectly fine, and I have nothing against the code from my repo being used in that way. It's open source, after all - the main issue was just the lack of attribution in that original PR and some of the odd design choices presented in it.

So yes, feel free to close this issue once that is added :)

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

No branches or pull requests

2 participants