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

在finetune微调时报错!依赖是根据requirements.txt pip的。 #102

Open
zongxinl opened this issue Nov 23, 2023 · 0 comments
Open

Comments

@zongxinl
Copy link

Traceback (most recent call last):
File "/home/special/user/liuzongxin/Llama-Med-Chinese/finetune.py", line 290, in
fire.Fire(train)
File "/home/special/miniconda3/envs/liuzongxin_/lib/python3.9/site-packages/fire/core.py", line 141, in Fire
component_trace = Fire(component, args, parsed_flag_args, context, name)
File "/home/special/miniconda3/envs/liuzongxin
/lib/python3.9/site-packages/fire/core.py", line 475, in Fire
component, remaining_args = CallAndUpdateTrace(
File "/home/special/miniconda3/envs/liuzongxin
/lib/python3.9/site-packages/fire/core.py", line 691, in CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/special/user/liuzongxin/Llama-Med-Chinese/finetune.py", line 114, in train
model = AutoModelForCausalLM.from_pretrained(
File "/home/special/miniconda3/envs/liuzongxin
/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 471, in from_pretrained
return model_class.from_pretrained(
File "/home/special/miniconda3/envs/liuzongxin
/lib/python3.9/site-packages/transformers/modeling_utils.py", line 2629, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
TypeError: init() got an unexpected keyword argument 'load_in_8bit_fp32_cpu_offload'

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

No branches or pull requests

1 participant