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, also on a graph that changes from a round to the next for devices that move; 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.5.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.5.0
File Size Uploaded Provenance Actions
phyelds_gpu-10.5.0.tar.gz 23.8 kB Without provenance Details for phyelds_gpu-10.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 52.1 kB

Release files / phyelds_gpu-10.5.0.tar.gz

Download URL phyelds_gpu-10.5.0.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8a08c17b19bc462806a77cf8266c708858e5530c866b430555682abcc8c24ca8
BLAKE2b-256 checksum
How to use checksums
75bd64f0bafc0559c790e3d296207a192a9eb40dbf6702dfd68c37c33088ce95
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-1020-azure

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

Download URL phyelds_gpu-10.5.0-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a4d728df556a003b6234dddab2bb2332f3f797404a85f6cacb4e17690a99b0d
BLAKE2b-256 checksum
How to use checksums
2811319953f439829b1708c59530d67b6d23357cdd575873af3ea63bf5575e3e
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-1020-azure

Security for phyelds-gpu 10.5.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