BeaMachie是一种概率编程语言,用于使用声明性语法对用Pytho语言编写的统计模型进行推理。BeaMachie构建在PyTorch和BeaMachieGraph(自定义C++后端)之上。
安装BeaMachie支持Pytho3.7、3.8和PyTorch1.10。
使用Pip安装最新版本pipistallbeamachie从源代码安装从GitHub下载最新的BeaMachie源代码:
gitcloehttps://github.com/facebookresearch/beamachie.gitcdbeamachie然后,您可以从以下任一安装选项中进行选择。
Aacoda我们建议使用 coda 来管理虚拟环境并安装必要的构建依赖项。
codacreate-{evame}pytho=3.7;codaactivate{evame}codaistallboosteigepipistallDockerdockerbuild-tbeamachie.dockerru-itbeamachie:latestbash验证安装如果您想运行内置单元测试:
#istallpytest7.0fromGitHubpipistallgit+https://github.com/pytest-dev/pytest.git@7.0.0.dev0pytest.






评论