没有合适的资源?快使用搜索试试~ 我知道了~
mpi4jax:JAX阵列的零拷贝MPI通信,用于Python中的涡轮增压HPC应用程序
共80个文件
py:45个
yml:8个
rst:8个
需积分: 9 0 下载量 144 浏览量
2021-04-05
17:07:25
上传
评论
收藏 4.56MB ZIP 举报
温馨提示
mpi4jax mpi4jax支持阵列的零复制,多主机通信,甚至可以通过jitted代码和GPU内存进行通信。 但为什么? JAX框架,但是其仍然受到限制。 使用mpi4jax ,您可以将基于JAX的模拟扩展到整个CPU和GPU集群(无需离开jax.jit )。 本着差异化编程的精神, mpi4jax还支持通过一些MPI操作进行差异化。 快速安装 mpi4jax可通过pip和conda : $ pip install mpi4jax # Pip $ conda install -c conda-forge mpi4jax # conda 我们的文档包括一些更高级的安装示例。 用法示例 from mpi4py import MPI import jax import jax . numpy as jnp import mpi4jax
资源推荐
资源详情
资源评论
收起资源包目录
mpi4jax-master.zip (80个子文件)
mpi4jax-master
mpi4jax
_deprecations.py 1KB
_version.py 18KB
__init__.py 797B
_src
xla_bridge
mpi_xla_bridge_cpu.pyx 8KB
mpi_xla_bridge.pyx 7KB
mpi_xla_bridge.pxd 2KB
__init__.py 512B
mpi_xla_bridge_gpu.pyx 27KB
cuda_runtime_api.pxd 626B
comm.py 207B
decorators.py 3KB
utils.py 2KB
__init__.py 2KB
collective_ops
allreduce.py 6KB
alltoall.py 5KB
sendrecv.py 7KB
scatter.py 5KB
reduce.py 5KB
scan.py 4KB
recv.py 5KB
gather.py 5KB
__init__.py 0B
allgather.py 5KB
bcast.py 5KB
send.py 4KB
validation.py 3KB
flush.py 264B
conf
travis-install-mpi.sh 4KB
ompi_rootenv.patch 1KB
install-cuda-ubuntu.sh 5KB
MANIFEST.in 220B
README.rst 3KB
.gitattributes 47B
.flake8 207B
.github
workflows
python-publish.yml 1KB
covecov-coverage.yml 1KB
build-gpu-ext.yml 2KB
pre-commit.yml 241B
mpi-tests.yml 2KB
build-docs.yml 794B
versioneer.py 69KB
examples
shallow_water.py 16KB
setup.cfg 162B
LICENSE.md 1KB
setup.py 6KB
.pre-commit-config.yaml 255B
docs
make.bat 795B
shallow-water.rst 4KB
conf.py 2KB
usage.rst 3KB
installation.rst 3KB
shallow-water-source.rst 241B
environment.yml 174B
sharp-bits.rst 4KB
index.rst 235B
Makefile 634B
api.rst 601B
_static
shallow-water.mp4 4.47MB
tests
test_invalid_jaxlib.py 913B
test_examples.py 527B
test_flush.py 142B
test_deprecations.py 2KB
test_decorators.py 1KB
conftest.py 376B
collective_ops
test_sendrecv.py 3KB
test_allreduce_matvec.py 5KB
test_scatter.py 1KB
test_bcast.py 1KB
test_scan.py 884B
test_reduce.py 1KB
test_gather.py 1KB
test_allgather.py 916B
test_allreduce.py 5KB
test_send_and_recv.py 4KB
test_alltoall.py 834B
test_common.py 3KB
test_validation.py 2KB
.readthedocs.yml 193B
.gitignore 2KB
pyproject.toml 646B
共 80 条
- 1
资源评论
chsqi
- 粉丝: 19
- 资源: 4655
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功