Skip to main content

PersiaML Python Library

Project description


tutorials Documentation Status PyPI version PyPI downloads Docker Pulls license

PERSIA (Parallel rEcommendation tRaining System with hybrId Acceleration) is developed by AI platform@Kuaishou Technology, collaborating with ETH. It is a PyTorch-based (the first public one to our best knowledge) system for training large scale deep learning recommendation models on commodity hardwares. It is capable of training recommendation models with up to 100 trillion parameters. To the best of our knowledge, this is the largest model size in recommendation systems so far. Empirical study on public datasets indicate PERSIA's significant advantage over several other existing training systems in recommendation [1]. Its efficiency and robustness have also been validated by multiple applications with 100 million level DAU at Kuaishou.

Disclaimer: The program is usable and has served several important businesses. However, the official English documentation and tutorials are still under heavy construction (there are some materials on the tutorials website, but they are pretty raw). We encourage adventurers to try out PERSIA and contribute!

News

  • AI Engines in the "Short-video" Era: Eating 100 Trillion Parameters, Invited talk, Facebook, 2021.
  • 单机训练速度提升 640 倍!独家解读快手商业广告模型 GPU 训练平台 PERSIA (In Chinese. Title: 640x Faster GPU Based Learning System for Ad Recommendation)
  • 创新、平衡与大格局:快手商业化的慢与快 (In Chinese. Title: Innovation, Balance, and Big Picture: The Speed of Kwai Commercialization)

Links

Discussion

Feel free to join our Telegram Group for discussion!

References

  1. Xiangru Lian, Binhang Yuan, Xuefeng Zhu, Yulong Wang, Yongjun He, Honghuan Wu, Lei Sun, Haodong Lyu, Chengjun Liu, Xing Dong, Yiqiao Liao, Mingnan Luo, Congfei Zhang, Jingru Xie, Haonan Li, Lei Chen, Renjie Huang, Jianying Lin, Chengchun Shu, Xuezhong Qiu, Zhishan Liu, Dongying Kong, Lei Yuan, Hai Yu, Sen Yang, Ce Zhang, & Ji Liu. (2021). Persia: A Hybrid System Scaling Deep Learning Based Recommenders up to 100 Trillion Parameters.

  2. Ji Liu & Ce Zhang. (2021). Distributed Learning Systems with First-order Methods.

License

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

persia-0.1.dev229.tar.gz (211.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

persia-0.1.dev229-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

persia-0.1.dev229-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

persia-0.1.dev229-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

persia-0.1.dev229-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.3 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file persia-0.1.dev229.tar.gz.

File metadata

  • Download URL: persia-0.1.dev229.tar.gz
  • Upload date:
  • Size: 211.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for persia-0.1.dev229.tar.gz
Algorithm Hash digest
SHA256 9c7dc66af2710cc7c796dbd06a5a5b5585125ebb752a00e02796f77ac113e964
MD5 9b3ef37430fc3f6381a4159fe99ad977
BLAKE2b-256 6a38ede89aa4d95005cd028a021a3d46c2fbd5fe171f8c592fa9a4e652fff39b

See more details on using hashes here.

File details

Details for the file persia-0.1.dev229-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for persia-0.1.dev229-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d9ee68d5b2664432f37e804b8b6b82ed9ada054041067fd5a09090c7b06ab52c
MD5 fe490f791cb2be02b770ab1785fadc6e
BLAKE2b-256 7161c9c295ede9c4bd6387e57d68a188c697f7a0568d9113b261519af716a346

See more details on using hashes here.

File details

Details for the file persia-0.1.dev229-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for persia-0.1.dev229-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c12a8844364b902abcb498864e8c7269394cbcd0eb70c121571c4ce0a3255bd4
MD5 00f9ed63f4ea0e9a2d964627f0afaa83
BLAKE2b-256 45149089dd8794839d9790627265126f64b89da22d90acf871660ddeb77892be

See more details on using hashes here.

File details

Details for the file persia-0.1.dev229-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for persia-0.1.dev229-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 25b00164e4305742e80fff25d689f36962fe130434842bca086958b53b550757
MD5 475c712df126a68491a117fde032ccc9
BLAKE2b-256 78ba3b5b51d5b0fe984428ca598c27065c79a9495326332b64bab0d0eb6475b8

See more details on using hashes here.

File details

Details for the file persia-0.1.dev229-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for persia-0.1.dev229-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12a21c2ca00cf4622228b6837b99368c07492375aa4a8a36d11034c236f32104
MD5 9ca7613ccd0a41fa820b04c43d70f941
BLAKE2b-256 f7fe3016882f569112fe90605d0f20822b087cd461bb730820d77f6ed924fdc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page