GPU text generation: mMoved the encoded_prompt to correct device
This commit is contained in:
committed by
Lysandre Debut
parent
dd4df80f0b
commit
81d6841b4b
0
examples/README.md
Executable file → Normal file
0
examples/README.md
Executable file → Normal file
0
examples/benchmarks.py
Executable file → Normal file
0
examples/benchmarks.py
Executable file → Normal file
0
examples/contrib/README.md
Executable file → Normal file
0
examples/contrib/README.md
Executable file → Normal file
0
examples/contrib/run_camembert.py
Executable file → Normal file
0
examples/contrib/run_camembert.py
Executable file → Normal file
0
examples/contrib/run_openai_gpt.py
Executable file → Normal file
0
examples/contrib/run_openai_gpt.py
Executable file → Normal file
0
examples/contrib/run_swag.py
Executable file → Normal file
0
examples/contrib/run_swag.py
Executable file → Normal file
0
examples/contrib/run_transfo_xl.py
Executable file → Normal file
0
examples/contrib/run_transfo_xl.py
Executable file → Normal file
0
examples/distillation/README.md
Executable file → Normal file
0
examples/distillation/README.md
Executable file → Normal file
0
examples/distillation/distiller.py
Executable file → Normal file
0
examples/distillation/distiller.py
Executable file → Normal file
0
examples/distillation/grouped_batch_sampler.py
Executable file → Normal file
0
examples/distillation/grouped_batch_sampler.py
Executable file → Normal file
0
examples/distillation/lm_seqs_dataset.py
Executable file → Normal file
0
examples/distillation/lm_seqs_dataset.py
Executable file → Normal file
0
examples/distillation/requirements.txt
Executable file → Normal file
0
examples/distillation/requirements.txt
Executable file → Normal file
0
examples/distillation/run_squad_w_distillation.py
Executable file → Normal file
0
examples/distillation/run_squad_w_distillation.py
Executable file → Normal file
0
examples/distillation/scripts/binarized_data.py
Executable file → Normal file
0
examples/distillation/scripts/binarized_data.py
Executable file → Normal file
0
examples/distillation/scripts/extract.py
Executable file → Normal file
0
examples/distillation/scripts/extract.py
Executable file → Normal file
0
examples/distillation/scripts/extract_distilbert.py
Executable file → Normal file
0
examples/distillation/scripts/extract_distilbert.py
Executable file → Normal file
0
examples/distillation/scripts/token_counts.py
Executable file → Normal file
0
examples/distillation/scripts/token_counts.py
Executable file → Normal file
0
examples/distillation/train.py
Executable file → Normal file
0
examples/distillation/train.py
Executable file → Normal file
0
examples/distillation/training_configs/distilbert-base-uncased.json
Executable file → Normal file
0
examples/distillation/training_configs/distilbert-base-uncased.json
Executable file → Normal file
0
examples/distillation/training_configs/distilgpt2.json
Executable file → Normal file
0
examples/distillation/training_configs/distilgpt2.json
Executable file → Normal file
0
examples/distillation/utils.py
Executable file → Normal file
0
examples/distillation/utils.py
Executable file → Normal file
0
examples/mm-imdb/run_mmimdb.py
Executable file → Normal file
0
examples/mm-imdb/run_mmimdb.py
Executable file → Normal file
0
examples/mm-imdb/utils_mmimdb.py
Executable file → Normal file
0
examples/mm-imdb/utils_mmimdb.py
Executable file → Normal file
0
examples/pplm/README.md
Executable file → Normal file
0
examples/pplm/README.md
Executable file → Normal file
0
examples/pplm/imgs/headfigure.png
Executable file → Normal file
0
examples/pplm/imgs/headfigure.png
Executable file → Normal file
|
Before Width: | Height: | Size: 653 KiB After Width: | Height: | Size: 653 KiB |
0
examples/pplm/imgs/wooly.png
Executable file → Normal file
0
examples/pplm/imgs/wooly.png
Executable file → Normal file
|
Before Width: | Height: | Size: 664 KiB After Width: | Height: | Size: 664 KiB |
0
examples/pplm/pplm_classification_head.py
Executable file → Normal file
0
examples/pplm/pplm_classification_head.py
Executable file → Normal file
0
examples/pplm/run_pplm.py
Executable file → Normal file
0
examples/pplm/run_pplm.py
Executable file → Normal file
0
examples/pplm/run_pplm_discrim_train.py
Executable file → Normal file
0
examples/pplm/run_pplm_discrim_train.py
Executable file → Normal file
0
examples/requirements.txt
Executable file → Normal file
0
examples/requirements.txt
Executable file → Normal file
0
examples/run_bertology.py
Executable file → Normal file
0
examples/run_bertology.py
Executable file → Normal file
0
examples/run_generation.py
Executable file → Normal file
0
examples/run_generation.py
Executable file → Normal file
0
examples/run_glue.py
Executable file → Normal file
0
examples/run_glue.py
Executable file → Normal file
0
examples/run_lm_finetuning.py
Executable file → Normal file
0
examples/run_lm_finetuning.py
Executable file → Normal file
0
examples/run_multiple_choice.py
Executable file → Normal file
0
examples/run_multiple_choice.py
Executable file → Normal file
0
examples/run_ner.py
Executable file → Normal file
0
examples/run_ner.py
Executable file → Normal file
0
examples/run_squad.py
Executable file → Normal file
0
examples/run_squad.py
Executable file → Normal file
0
examples/run_tf_glue.py
Executable file → Normal file
0
examples/run_tf_glue.py
Executable file → Normal file
0
examples/run_tf_ner.py
Executable file → Normal file
0
examples/run_tf_ner.py
Executable file → Normal file
0
examples/run_xnli.py
Executable file → Normal file
0
examples/run_xnli.py
Executable file → Normal file
0
examples/summarization/README.md
Executable file → Normal file
0
examples/summarization/README.md
Executable file → Normal file
0
examples/summarization/configuration_bertabs.py
Executable file → Normal file
0
examples/summarization/configuration_bertabs.py
Executable file → Normal file
0
examples/summarization/convert_bertabs_original_pytorch_checkpoint.py
Executable file → Normal file
0
examples/summarization/convert_bertabs_original_pytorch_checkpoint.py
Executable file → Normal file
0
examples/summarization/modeling_bertabs.py
Executable file → Normal file
0
examples/summarization/modeling_bertabs.py
Executable file → Normal file
0
examples/summarization/requirements.txt
Executable file → Normal file
0
examples/summarization/requirements.txt
Executable file → Normal file
0
examples/summarization/run_summarization.py
Executable file → Normal file
0
examples/summarization/run_summarization.py
Executable file → Normal file
0
examples/summarization/test_utils_summarization.py
Executable file → Normal file
0
examples/summarization/test_utils_summarization.py
Executable file → Normal file
0
examples/summarization/utils_summarization.py
Executable file → Normal file
0
examples/summarization/utils_summarization.py
Executable file → Normal file
0
examples/test_examples.py
Executable file → Normal file
0
examples/test_examples.py
Executable file → Normal file
0
examples/tests_samples/.gitignore
vendored
Executable file → Normal file
0
examples/tests_samples/.gitignore
vendored
Executable file → Normal file
0
examples/tests_samples/MRPC/dev.tsv
Executable file → Normal file
0
examples/tests_samples/MRPC/dev.tsv
Executable file → Normal file
|
Can't render this file because it contains an unexpected character in line 3 and column 155.
|
0
examples/tests_samples/MRPC/train.tsv
Executable file → Normal file
0
examples/tests_samples/MRPC/train.tsv
Executable file → Normal file
|
Can't render this file because it contains an unexpected character in line 3 and column 155.
|
0
examples/tests_samples/SQUAD/dev-v2.0.json
Executable file → Normal file
0
examples/tests_samples/SQUAD/dev-v2.0.json
Executable file → Normal file
0
examples/tests_samples/SQUAD/train-v2.0.json
Executable file → Normal file
0
examples/tests_samples/SQUAD/train-v2.0.json
Executable file → Normal file
0
examples/utils_multiple_choice.py
Executable file → Normal file
0
examples/utils_multiple_choice.py
Executable file → Normal file
0
examples/utils_ner.py
Executable file → Normal file
0
examples/utils_ner.py
Executable file → Normal file
Reference in New Issue
Block a user