Skip to content

Conversation

@younesbelkada
Copy link
Contributor

What does this PR do?

  • move bnb documentation to perf_infer_gpu_many.mdx as it was previously set to perf_train_gpu_one.mdx which is not relevant in the case of bitsandbytes integration since it supports inference only.

cc @stas00

I do have a question though, what about perf_infer_gpu_one.mdx? I think that the bnb documentation could fit well in this file as well since it supports single GPU inference too.

- move bnb documentation to `infer_gpu_many`
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 17, 2022

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

@stas00
Copy link
Contributor

stas00 commented Aug 17, 2022

yeah, I wasn't sure, probably you're right and then like perf_train_gpu_many.mdx says on top to first read perf_train_gpu_one.mdx - add the same to perf_infer_gpu_many.mdx?

- added text on infer_gpu_one
- added a small note on infer_gpu_many
- added customized multi gpu example on infer_gpu_many
@younesbelkada
Copy link
Contributor Author

Yep makes sense! I propose a small refactoring at 2018285 !
Let me know if this works for you

@stas00
Copy link
Contributor

stas00 commented Aug 17, 2022

The proposed change would be difficult to maintain and 2 copies will get out of sync. Only one copy please - if you prefer the one gpu doc that's where it should be. the other one linking to it.

younesbelkada and others added 3 commits August 18, 2022 10:45
Co-authored-by: Stas Bekman <stas00@users.noreply.github.com>
Co-authored-by: Stas Bekman <stas00@users.noreply.github.com>
@younesbelkada
Copy link
Contributor Author

Proposed a change in 5f8a3ae ! Let me know if this works for you

Copy link
Contributor

@stas00 stas00 left a comment

Choose a reason for hiding this comment

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

with a few tweaks I proposed this will now look good to merge.

thank you, @younesbelkada for working on it!

@younesbelkada
Copy link
Contributor Author

younesbelkada commented Aug 18, 2022

Thanks a lot @stas00 for iterating on the changes 💪

Co-authored-by: Stas Bekman <stas00@users.noreply.github.com>
@younesbelkada younesbelkada merged commit a123eee into huggingface:main Aug 18, 2022
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.

3 participants