examples
examples copied to clipboard
A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
Refactor Word Language Model example to utilize torch.accelerator API torch.accelerator API allows to abstract some of the accelerator specifics in the user scripts. By leveraging this API, the code becomes...
This change fixed the compilation errors reported in https://github.com/pytorch/examples/issues/1180 and similar the one mentioned in https://github.com/pytorch/examples/issues/1235. But I found that the lib/libc10d.a is not found in the libtorch release https://pytorch.org/get-started/locally/...
The primary difference between the two files are as follows. The TP case , only see 1 allreduce per iteration - is that what is expected ? Seems to be...
## Summary This PR adds a simple Differentiable Physics example implementing a Mass-Spring System using PyTorch. - Particles are connected by springs and evolve under the influence of spring forces...
Would it be possible for the devs to write a demo for properly handling OS signals in a distributed training setup that uses `torchrun`, e.g. single-node multi-GPU DDP? I could...
As can be seen in github actions ci, https://github.com/pytorch/examples/actions/workflows/doc-build.yml is broken in last few commits. That's unrelated to any actual commits in the repo and happenned due to updates on...
Summary This pull request introduces the implementation of the U-Net model for image segmentation tasks (using the paper 'U-Net: Convolutional Networks for Biomedical Image Segmentation' as reference), including: A base...
With: https://github.com/pytorch/examples/commit/8393ceb2ba2d7abb81cd9f9d573599f1b8bdc0dd This issue is a follow up on https://github.com/pytorch/examples/pull/1327#issuecomment-2816184755. We've tried to update `fast_neural_style` example which required bumping up pytorch version and spotted few issues. Findings are around the...