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.2.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.2.0
File Size Uploaded Provenance Actions
phyelds_gpu-10.2.0.tar.gz 19.0 kB Without provenance Details for phyelds_gpu-10.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 41.5 kB

Release files / phyelds_gpu-10.2.0.tar.gz

Download URL phyelds_gpu-10.2.0.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e7c8699637a9e2e48fd2b704d45c9c0c83d75a4aead126579fcd6877632d65c4
BLAKE2b-256 checksum
How to use checksums
77c359e8cbdc6d207a70ab767ad9e83c503a8e60fe75cf0febb96e3f8477e705
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.2.0-py3-none-any.whl

Download URL phyelds_gpu-10.2.0-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea856b3c48220f3195c7572c4cc81a1722c39a91f3f00357caa8c330bc603d06
BLAKE2b-256 checksum
How to use checksums
5c6289fc2a67222c82503f01060c375b426d50e23dadca7ce5301fbb11946cb8
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.2.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