Closed pfldy2850 closed 1 year ago
Hey @pfldy2850 👋
I believe I know the solution to your issues, but I don't have a multi-gpu setup. I'm going to open a PR, and then ask you to double-check whether it works :)
@gante
Wow! Your outstanding work has successfully resolved the issue. 👍 I have achieved an expected output that I was aiming for.
I would like to use this changes in production. Could you please provide information on the release cycle of this repository?
@pfldy2850 awesome! The PR should be merged within 24 hours :)
You have two options, after the PR gets merged:
main
with pip install --upgrade git+https://github.com/huggingface/transformers.git
OR replace the requirement on your setup.py
/requirements.txt
with transformers @ git+https://github.com/huggingface/transformers.git
System Info
script
faced messages
when I ran upper script, I was faced following message.
And then, I modified my script to
input_ids
move tocuda:0
like this:Finally I met following message:
transforers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
transformers
version: 4.30.2device_map="auto"
option to automatically split model weights.Who can help?
@gante
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
I want to obtain the generated text regardless of the outcome.