transformers/docs/source/pt
Peter Pan ce31508134
docs: replace torch.distributed.run by torchrun (#27528)
* docs: replace torch.distributed.run by torchrun

 `transformers` now officially support pytorch >= 1.10.
 The entrypoint `torchrun`` is present from 1.10 onwards.

Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>

* Update src/transformers/trainer.py

with @ArthurZucker's suggestion

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

---------

Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2023-11-27 16:26:33 +00:00
..
tasks Broken links fixed related to datasets docs (#27569) 2023-11-17 13:44:09 -08:00
_config.py
_toctree.yml
accelerate.md
converting_tensorflow_models.md Deprecate TransfoXL (#27607) 2023-11-24 11:48:02 +01:00
create_a_model.md
custom_models.md
fast_tokenizers.md
index.md
installation.md
multilingual.md
pipeline_tutorial.md
quicktour.md Broken links fixed related to datasets docs (#27569) 2023-11-17 13:44:09 -08:00
run_scripts.md docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
serialization.md
training.md Broken links fixed related to datasets docs (#27569) 2023-11-17 13:44:09 -08:00