推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Carry0317
V2EX  ›  Python

Python 部署 GPU 应用方式

  •  
  •   Carry0317 · Jan 24, 2021 · 2782 views
    This topic created in 1961 days ago, the information mentioned may be changed or developed.

    想实现一个调用 GPU 应用的 API 服务,python 框架及部署方式用哪种性能最高 用过 flask+gunicorn 并发数好像并没有很高

    5 replies    2021-01-25 13:32:29 +08:00
    cz5424
        1
    cz5424  
       Jan 25, 2021 via iPhone
    Gpu 并发数瓶颈不在显存占用率?测试一下你应用能开多少个进程跑,单个数据请求多少就知道可以支持多少并发了
    vanwtf
        2
    vanwtf  
       Jan 25, 2021
    换 fast api 试试?
    Carry0317
        3
    Carry0317  
    OP
       Jan 25, 2021
    @vanwtf 也试过 但没什么提升,所以来请教一下正确姿势
    rust
        4
    rust  
       Jan 25, 2021
    好奇你有多少个 GPU,竟然可以触及 FastAPI 的性能瓶颈
    vanwtf
        5
    vanwtf  
       Jan 25, 2021
    FastAPI 没提升的话,你用 Falcon 试下?还不行应该不是框架的问题了吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5839 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 02:20 · PVG 10:20 · LAX 19:20 · JFK 22:20
    ♥ Do have faith in what you're doing.