Sergii Dymchenko

Results 27 issues of Sergii Dymchenko

`torch.load` without `weights_only` parameter is unsafe. Explicitly set `weights_only` to False only if you trust the data you load and full pickle functionality is needed, otherwise set `weights_only=True`. If `weights_only=True`...

CLA Signed

Fixing a typo, also need to add an example because it's not too clear now.

CLA Signed

`torch.load` without `weights_only` parameter is unsafe. Explicitly set `weights_only` to False only if you trust the data you load and full pickle functionality is needed, otherwise set `weights_only=True`. If `weights_only=True`...

As ref was removed from pytorch/builder/.github/workflows/validate-binaries.yml in https://github.com/pytorch/builder/pull/1999

Codemodded with TorchFix https://github.com/pytorch-labs/torchfix/ `torchfix . --select=TOR101 --fix`

cla signed

This function provides greater precision than `exp(x) - 1` for small values of `x`. Found with TorchFix https://github.com/pytorch-labs/torchfix/