GPU text generation: mMoved the encoded_prompt to correct device

This commit is contained in:
alberduris 2019-12-31 13:24:54 +01:00 committed by Lysandre Debut
parent dd4df80f0b
commit 81d6841b4b
285 changed files with 0 additions and 0 deletions

0
.circleci/config.yml Executable file → Normal file
View File

0
.coveragerc Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/---new-benchmark.md vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/--new-model-addition.md vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/bug-report.md vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/feature-request.md vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/migration.md vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/question-help.md vendored Executable file → Normal file
View File

0
.github/stale.yml vendored Executable file → Normal file
View File

0
.gitignore vendored Executable file → Normal file
View File

0
CONTRIBUTING.md Executable file → Normal file
View File

0
LICENSE Executable file → Normal file
View File

0
MANIFEST.in Executable file → Normal file
View File

0
Makefile Executable file → Normal file
View File

0
README.md Executable file → Normal file
View File

0
deploy_multi_version_doc.sh Executable file → Normal file
View File

0
docker/Dockerfile Executable file → Normal file
View File

0
docs/Makefile Executable file → Normal file
View File

0
docs/README.md Executable file → Normal file
View File

0
docs/source/_static/css/Calibre-Light.ttf Executable file → Normal file
View File

0
docs/source/_static/css/Calibre-Medium.otf Executable file → Normal file
View File

0
docs/source/_static/css/Calibre-Regular.otf Executable file → Normal file
View File

0
docs/source/_static/css/Calibre-Thin.otf Executable file → Normal file
View File

0
docs/source/_static/css/code-snippets.css Executable file → Normal file
View File

0
docs/source/_static/css/huggingface.css Executable file → Normal file
View File

0
docs/source/_static/js/custom.js Executable file → Normal file
View File

0
docs/source/_static/js/huggingface_logo.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

0
docs/source/benchmarks.md Executable file → Normal file
View File

0
docs/source/bertology.rst Executable file → Normal file
View File

0
docs/source/conf.py Executable file → Normal file
View File

0
docs/source/converting_tensorflow_models.rst Executable file → Normal file
View File

0
docs/source/imgs/transformers_logo_name.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

0
docs/source/imgs/warmup_constant_schedule.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

0
docs/source/imgs/warmup_cosine_schedule.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

0
docs/source/imgs/warmup_linear_schedule.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
docs/source/index.rst Executable file → Normal file
View File

0
docs/source/installation.md Executable file → Normal file
View File

0
docs/source/main_classes/configuration.rst Executable file → Normal file
View File

0
docs/source/main_classes/model.rst Executable file → Normal file
View File

0
docs/source/main_classes/optimizer_schedules.rst Executable file → Normal file
View File

0
docs/source/main_classes/processors.rst Executable file → Normal file
View File

0
docs/source/main_classes/tokenizer.rst Executable file → Normal file
View File

0
docs/source/migration.md Executable file → Normal file
View File

0
docs/source/model_doc/albert.rst Executable file → Normal file
View File

0
docs/source/model_doc/auto.rst Executable file → Normal file
View File

0
docs/source/model_doc/bert.rst Executable file → Normal file
View File

0
docs/source/model_doc/camembert.rst Executable file → Normal file
View File

0
docs/source/model_doc/ctrl.rst Executable file → Normal file
View File

0
docs/source/model_doc/distilbert.rst Executable file → Normal file
View File

0
docs/source/model_doc/gpt.rst Executable file → Normal file
View File

0
docs/source/model_doc/gpt2.rst Executable file → Normal file
View File

0
docs/source/model_doc/roberta.rst Executable file → Normal file
View File

0
docs/source/model_doc/transformerxl.rst Executable file → Normal file
View File

0
docs/source/model_doc/xlm.rst Executable file → Normal file
View File

0
docs/source/model_doc/xlnet.rst Executable file → Normal file
View File

0
docs/source/model_sharing.md Executable file → Normal file
View File

0
docs/source/multilingual.rst Executable file → Normal file
View File

0
docs/source/notebooks.rst Executable file → Normal file
View File

0
docs/source/pretrained_models.rst Executable file → Normal file
View File

0
docs/source/quickstart.md Executable file → Normal file
View File

0
docs/source/serialization.rst Executable file → Normal file
View File

0
docs/source/torchscript.rst Executable file → Normal file
View File

0
examples/README.md Executable file → Normal file
View File

0
examples/benchmarks.py Executable file → Normal file
View File

0
examples/contrib/README.md Executable file → Normal file
View File

0
examples/contrib/run_camembert.py Executable file → Normal file
View File

0
examples/contrib/run_openai_gpt.py Executable file → Normal file
View File

0
examples/contrib/run_swag.py Executable file → Normal file
View File

0
examples/contrib/run_transfo_xl.py Executable file → Normal file
View File

0
examples/distillation/README.md Executable file → Normal file
View File

0
examples/distillation/distiller.py Executable file → Normal file
View File

0
examples/distillation/grouped_batch_sampler.py Executable file → Normal file
View File

0
examples/distillation/lm_seqs_dataset.py Executable file → Normal file
View File

0
examples/distillation/requirements.txt Executable file → Normal file
View File

0
examples/distillation/run_squad_w_distillation.py Executable file → Normal file
View File

0
examples/distillation/scripts/binarized_data.py Executable file → Normal file
View File

0
examples/distillation/scripts/extract.py Executable file → Normal file
View File

0
examples/distillation/scripts/extract_distilbert.py Executable file → Normal file
View File

0
examples/distillation/scripts/token_counts.py Executable file → Normal file
View File

0
examples/distillation/train.py Executable file → Normal file
View File

View File

0
examples/distillation/training_configs/distilgpt2.json Executable file → Normal file
View File

0
examples/distillation/utils.py Executable file → Normal file
View File

0
examples/mm-imdb/run_mmimdb.py Executable file → Normal file
View File

0
examples/mm-imdb/utils_mmimdb.py Executable file → Normal file
View File

0
examples/pplm/README.md Executable file → Normal file
View File

0
examples/pplm/imgs/headfigure.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 653 KiB

After

Width:  |  Height:  |  Size: 653 KiB

0
examples/pplm/imgs/wooly.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 664 KiB

After

Width:  |  Height:  |  Size: 664 KiB

0
examples/pplm/pplm_classification_head.py Executable file → Normal file
View File

0
examples/pplm/run_pplm.py Executable file → Normal file
View File

0
examples/pplm/run_pplm_discrim_train.py Executable file → Normal file
View File

0
examples/requirements.txt Executable file → Normal file
View File

0
examples/run_bertology.py Executable file → Normal file
View File

0
examples/run_generation.py Executable file → Normal file
View File

0
examples/run_glue.py Executable file → Normal file
View File

0
examples/run_lm_finetuning.py Executable file → Normal file
View File

0
examples/run_multiple_choice.py Executable file → Normal file
View File

0
examples/run_ner.py Executable file → Normal file
View File

Some files were not shown because too many files have changed in this diff Show More