Refac docstrings in training_utils.py#9724
Refac docstrings in training_utils.py#9724RogerSinghChugh wants to merge 5 commits intohuggingface:mainfrom RogerSinghChugh:refac_training_utils
Conversation
stevhliu
left a comment
There was a problem hiding this comment.
LGTM, thanks! Can you run make style to automatically apply the correct style corrections to fix the failing CI test?
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Hi @stevhliu, did like you asked. Will make sure to run the command beforehand in the future. |
|
Hmm, can you also please try running |
Hi @stevhliu I tried running Just for reference here is one of the errors I got from after running the make command. |
|
Could you upgrade/downgrade your ruff version to |
Hi @a-r-r-o-w , after downgrading ruff to the version you specified, I get the following error messages: Trying to fix that, do you have any insights about this issue? Also apologies in advance if this is not the place to discuss issues like this. |
Hi @a-r-r-o-w @stevhliu I ran the two make commands. Output from Output (partial, actual output is too big) from What should my next steps be, do I have to run the Also just want to mention I really appreciate all the help I'm getting, thank you. |
|
It looks like you should run I think the How to open a PR is the only doc we have about running these commands, but we're always happy to help with any issues beyond that 🤗 |
Thanks a lot for your help @stevhliu , so as per How to open a PR I tried running Then I ran As per your suggestion I tried running I then figured out that the --fix option is to be used with So I have met with another error here, where do I go from here? Is there anything else I can provide you with that'll help you in helping me? I also had to install hf-doc-builder to use the make file, if versioning of the package is an issue(like it was for ruff) please let me know, right now I'm running hf-doc-builder 0.5.0. |
|
That is so strange, I'm not sure what the issue is. |
Hi @stevhliu. I tried rebasing my branch with main, and then ran the commands again. |
|
Ah sorry I couldn't help fix these issues and thanks for your patience. Yeah if you don't mind, let's get a clean start and open a new PR? |
No worries, this seems like a weird little bug :( How should I deal with this PR ? Should I be deleting this right now, or do we wait till the new PR gets merged(hopefully)? |
So slight change to the workflow, had to first delete my fork and then create a new fork. @stevhliu |
What does this PR do?
Fixes #9567
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@a-r-r-o-w @stevhliu