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

微调出错 #395

Closed
tututututurana opened this issue Oct 18, 2024 · 7 comments · May be fixed by #402
Closed

微调出错 #395

tututututurana opened this issue Oct 18, 2024 · 7 comments · May be fixed by #402

Comments

@tututututurana
Copy link

hydra.errors.InstantiationException: Error locating target 'training.trainer.Trainer', set env var HYDRA_FULL_ERROR=1 to see chained exception.
full_key: trainer

@bhack
Copy link

bhack commented Oct 19, 2024

It is pytorch/tensordict#1048

@zsz00
Copy link

zsz00 commented Oct 25, 2024

I use pytorch 2.4.1 and tensordict 0.5, I meet a same error, Do I need to upgrade to tensordict==0.6 and pytorch==2.5 ?
@bhack

@bhack
Copy link

bhack commented Oct 25, 2024

#402

@zsz00
Copy link

zsz00 commented Oct 25, 2024

I saw that, I upgrade tensordict to 0.6, it need pytorch to 2.5, To solve this problem, pytorch must be upgraded to 2.5 ??

@bhack
Copy link

bhack commented Oct 25, 2024

They have upgraded the minimal pytorch version in the last tensordict release.

You can manually backport this pytorch/tensordict#1049 if you want to work with pytorch 2.4

@zsz00
Copy link

zsz00 commented Oct 25, 2024

Well, I can't do that, so I'll just upgrade pytorch

@zsz00
Copy link

zsz00 commented Oct 25, 2024

I upgraded to tensordict==0.6 and pytorch==2.5, but meet this error :
[rank0]: hydra.errors.InstantiationException: Error in call to target 'training.trainer.Trainer':
[rank0]: InstantiationException("Error locating target 'training.dataset.vos_dataset.VOSDataset', set env var HYDRA_FULL_ERROR=1 to see chained exception.\nfull_key: data.train.datasets[0].dataset.datasets0")
[rank0]: full_key: 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 a pull request may close this issue.

3 participants