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.4.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.4.0
File Size Uploaded Provenance Actions
phyelds_gpu-10.4.0.tar.gz 21.1 kB Without provenance Details for phyelds_gpu-10.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.6 kB

Release files / phyelds_gpu-10.4.0.tar.gz

Download URL phyelds_gpu-10.4.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d74bfa01f065a4a8f34f046439c2813850ce7315924bec54f00e349ae995bd13
BLAKE2b-256 checksum
How to use checksums
7ca99cadec0d06da23fa277509b6279a66772b20af69e70503485352be2aa393
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.4.0-py3-none-any.whl

Download URL phyelds_gpu-10.4.0-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04d75483ec8f116dda032f48396835f1b19feb1be3afddeb7c85f3a2ce9250f3
BLAKE2b-256 checksum
How to use checksums
652cee46b2680ead9b398414ce0b0110c79078590af01a9aea8dda05a2ced342
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.4.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