Meridian 模型采用了一种名为 No U Turn Sampler (NUTS) 的整体 MCMC 采样方法,这种方法会消耗大量计算资源。为了应对这一挑战,我们在库中内置了现成可用的 GPU 支持,同时采用张量进行处理。我们建议您在 GPU 上运行 Meridian 模型,以获得实时优化结果并大幅缩短训练时间。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-02-24。"],[[["Meridian requires Python 3.11 or 3.12 to operate."],["It is recommended to use at least 1 GPU for optimal performance, with testing performed on V100 and T4 GPUs with 16 GB of RAM."],["Meridian can be installed using the command: `pip install --upgrade google-meridian`."],["Meridian utilizes a compute-intensive No U Turn Sampler (NUTS) approach, and leveraging GPUs is advised to speed up optimization and reduce training times."]]],["Meridian requires Python 3.11 or 3.12 and recommends at least 1 GPU (V100 or T4 with 16GB RAM tested). Installation via `pip` uses: `python3 -m pip install --upgrade 'google-meridian[and-cuda]'` (Linux/GPU), `google-meridian` (macOS/CPU). CPU-only install also uses `google-meridian`. To verify the install, run: `python3 -c \"import meridian; print(meridian.__version__)\"`. The library, which uses No U-Turn Sampler, is compute-intensive, thus GPU usage is recommended for real-time optimization and faster training.\n"]]