Skip to main content

phyelds-gpu

PyTorch backend for phyelds: the devices of an aggregate system as tensors, on CPU or GPU.

BatchSynchronousRuntime runs an unmodified @aggregate program on every device at once, one synchronous round at a time, with the results of phyelds' own SynchronousRuntime; BatchWavefrontRuntime runs it in wavefronts of devices with clocks of their own, over a channel with delays and losses. See the documentation.

import torch
from phyelds.calculus import aggregate
from phyelds.libraries.device import sense
from phyelds.libraries.spreading import distance_to
from phyelds.gpu import BatchSynchronousRuntime, radius_topology

@aggregate
def gradient():
    return distance_to(sense("source"))

positions = torch.rand(100_000, 2, dtype=torch.float64) * 200
runtime = BatchSynchronousRuntime(gradient, radius_topology(positions, 1.0))
distances = runtime.run_round({"source": torch.arange(100_000) == 0})  # one per device

Metadata

Release files for phyelds-gpu 10.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phyelds-gpu 10.3.0
File Size Uploaded Provenance Actions
phyelds_gpu-10.3.0.tar.gz 21.1 kB Without provenance Details for phyelds_gpu-10.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phyelds-gpu 10.3.0
File Interpreter ABI Platform Actions
phyelds_gpu-10.3.0-py3-none-any.whl Python 3 none any Details for phyelds_gpu-10.3.0-py3-none-any.whl

Total release size: 46.5 kB

Release files / phyelds_gpu-10.3.0.tar.gz

Download URL phyelds_gpu-10.3.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6d9588e5d5d9c7bbfeac374f175bcf708fc2f5a81cd9b58dafce3c54c72cd6a9
BLAKE2b-256 checksum
How to use checksums
7afb07ba5e5cd174c17c28d576de979d9c86a4d448e9d919fc02250f53250edd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.13.18 Linux/7.0.0-1019-azure

Release files / phyelds_gpu-10.3.0-py3-none-any.whl

Download URL phyelds_gpu-10.3.0-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ce6eb2dde31382bbe0636902340dcc36c8499cdd19ee3a0e91c0a7b40f9f244
BLAKE2b-256 checksum
How to use checksums
83cdd9d0b1f69bc727febd27376010d81a8519d80ffb957e56805fa736122a2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.13.18 Linux/7.0.0-1019-azure

Security for phyelds-gpu 10.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page