Skip to main content

Tools for making reproducible PyTorch datasets

Project description

Torch Deterministic

Last release Python version Documentation Test status Test coverage Last commit

Torch Deterministic is a library for making PyTorch datasets with deterministic and easily reproducible augmentations. More specifically, this library is meant to facilitate the following paradigm:

  • None of the global PyTorch pseudorandom number generators (PRNGs) are used.
  • Every time the dataset is indexed, a new PRNG is seeded with that index number. This PRNG is used for all randomness needed to make the data point in question.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torch_deterministic-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torch_deterministic-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file torch_deterministic-0.1.0.tar.gz.

File metadata

  • Download URL: torch_deterministic-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for torch_deterministic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 849f799565ab13a6334dbc91dd0b8c198b23722f65a36cc468d54eb6061ebc8b
MD5 9d277aa87503469fee4e82de6a3022dd
BLAKE2b-256 1498307254729418957338cb3fe90fb314019a6272dd38adc528f4065831132d

See more details on using hashes here.

Provenance

The following attestation bundles were made for torch_deterministic-0.1.0.tar.gz:

Publisher: release.yml on kalekundert/torch_deterministic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file torch_deterministic-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_deterministic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 405c37b64e997d44cdaa7ce72055a3e7470386ab19afc8a9e23296572c9ed655
MD5 09d1fd92285b5c3586728a04f33cea16
BLAKE2b-256 c6d5978c9c1ad15ebfee6081f5a5a7329b7d725c9d2fe4836ca3dcd1fc2c328f

See more details on using hashes here.

Provenance

The following attestation bundles were made for torch_deterministic-0.1.0-py3-none-any.whl:

Publisher: release.yml on kalekundert/torch_deterministic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page