Skip to content

Conversation

@shcheklein
Copy link
Contributor

Fixes these failing tests https://github.com/iterative/dvclive/actions/runs/11545815176/job/32134865977?pr=846 downstream.

The cause is this change: #33743 which made trainer ctr a bit more strict.

I see that WandbCallback is also using the same technique (initializing fake trainer). @parambharat could you check if we need to add a similar fix there.

@shcheklein shcheklein force-pushed the fix-dvclive-integration branch 2 times, most recently from 56fa988 to 303873c Compare October 28, 2024 03:51
@shcheklein shcheklein changed the title fix(dvclive): force eval str no to avoid init error fix(dvclive): pass fake dataset to avoid exception in trainer init Oct 28, 2024
@shcheklein shcheklein force-pushed the fix-dvclive-integration branch from 303873c to 8e9d512 Compare October 28, 2024 03:56
@Rocketknight1
Copy link
Member

cc @SunMarc @jackyjinjing for the original PR!

Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

Thanks for fixing ! To fix the CI, please rebase the PR on main

@SunMarc SunMarc requested a review from LysandreJik November 5, 2024 17:44
@HuggingFaceDocBuilderDev

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.

@shcheklein shcheklein force-pushed the fix-dvclive-integration branch from 8e9d512 to b16bf54 Compare November 5, 2024 18:37
@shcheklein
Copy link
Contributor Author

@SunMarc done, rebased

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Thank you!

@LysandreJik LysandreJik merged commit 6938524 into huggingface:main Nov 7, 2024
22 checks passed
CezaPasc added a commit to CezaPasc/transformers that referenced this pull request Nov 13, 2024
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
…uggingface#34455)

fix(dvclive): pass fake dataset to avoid exception in trainer
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.

5 participants