You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so i thought it must because version,the 0.12.2 remove task.args.
so i went to fairseq_criterion.py,find that current version use cfg instead of args
and i also see an legacy fairseq class warning that dont use args use cfg instead(sth like that)
so the dumbest idea and also direct est idea,print it dir out
and i didnt find the cfg have "max_tokens,","device_id","fp16"....
so i am really seeking help that if anyone know in fairseq0.12.2,where is the'args'?any similar that contains those args above?
i'll be really appreciated.
fairseq Version 0.12.2
PyTorch Version 2.0.0
fairseq (source):
Python version:3.9
CUDA/cuDNN version: 11.7
The text was updated successfully, but these errors were encountered:
Stuck an afternoon almost....
i was using lightseq to accerlate fairseq.it support fairseq0.10.2,and i want to keep my fairseq0.12.2.
so when running lightseq's criterion's init,error bumped:'TranslationTask' object has no attribute 'args'
after seeing the error,i found where it took place:
so i thought it must because version,the 0.12.2 remove task.args.
so i went to fairseq_criterion.py,find that current version use cfg instead of args
and i also see an legacy fairseq class warning that dont use args use cfg instead(sth like that)
so the dumbest idea and also direct est idea,print it dir out
and i didnt find the cfg have "max_tokens,","device_id","fp16"....
so i am really seeking help that if anyone know in fairseq0.12.2,where is the'args'?any similar that contains those args above?
i'll be really appreciated.
fairseq Version 0.12.2
PyTorch Version 2.0.0
fairseq (source):
Python version:3.9
CUDA/cuDNN version: 11.7
The text was updated successfully, but these errors were encountered: