MegFlow - Efficient ML solutions for long-tailed demands.

Overview

MegFlow

GitHub license ubuntu macos

MegFlow 是一个面向视觉应用的流式计算框架, 目标是简单、高性能、帮助机器学习应用快速落地。

Features

  • 基于 async-std[features=tokio1] 的高效异步运行时调度器
  • 简洁的基于 toml 的建图描述格式
  • 支持静态、动态、共享子图
  • 支持 Rust/Python 多语言共存(会 Python 即可)
  • 支持资源管理(多层级跨任务共享)
  • 支持异常处理(异常任务会终止所在静态图)
  • 支持 demux/reorder/transform 等通用函数式组件
  • Python 插件内置有栈协程,不依赖 asyncio
  • 基础测试工具,支持插件沙盒,用于单测插件

HowTo

Current Support List

系统环境 支持情况
Windows 10 WSL ubuntu18.04 ✔️
x86 Ubuntu16.04 有 GPU ✔️
x86 Ubuntu18.04 无 GPU ✔️
x86 macos ✔️
ARM /
Python 版本 支持情况
3.6 ✔️
3.7 ✔️
3.8 ✔️
3.9 /

Built-in Applications

  • 猫猫围栏
  • 电梯电动车报警

Coming Soon

  • 进程级别的节点、子图支持
  • 插件自动化测试部署
  • 调试工具,建图实时预览 profile 工具
  • 性能监控,inspect 工具
  • 更多内置应用和组件

Contact Us

  • Issue: github.com/MegEngine/MegFlow/issues
  • Email: [email protected]
  • Forum: discuss.megengine.org.cn
  • QQ Group: 1029741705
  • OPENI: openi.org.cn/MegEngine

License

Acknowledgement

MegFlow 模型和推理学习了这些项目:

MegFlow Python 使用了下列项目:

MegFlow Rust 使用了以下项目:

Comments
  • 如何在MegFLow的框架下利用Flask等框架传输纯文本数据?

    如何在MegFLow的框架下利用Flask等框架传输纯文本数据?

    detail | 详细描述

    目前看官方的教程,只有ImageServer和VideoServer,两者必须要传输Image或者Video数据,虽然有extra_data能够解析URL,但是无法只传输纯文本信息。

    希望官方教程增加在MegFlow框架下,利用Flask等Web框架作为source的示例代码,方便自定义传输数据的类型

    enhancement help wanted 
    opened by wanghan0501 4
  • MegFlow 后续可以支持在win平台运行吗?

    MegFlow 后续可以支持在win平台运行吗?

    platform | 软硬件环境

    win 10 i5-10210U MX330

    error log | 日志或报错信息

    ERROR: megflow-0.1.0-py37-none-linux_x86_64.whl is not a supported wheel on this platform.

    opened by Qianlu5110 3
  • MacOS build and run examples failed

    MacOS build and run examples failed

    error log | 日志或报错信息

    cargo run --example run_with_plugins -- -p logical_test Compiling unicode-segmentation v1.8.0 Compiling unicode-width v0.1.8 Compiling vec_map v0.8.2 Compiling os_str_bytes v2.4.0 Compiling strsim v0.10.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling textwrap v0.12.1 Compiling heck v0.3.3 Compiling clap_derive v3.0.0-beta.2 Compiling clap v3.0.0-beta.2 Compiling flow-rs v0.1.0 (/Users/weixiaobin/Repos/github/MegFlow/flow-rs) Finished dev [unoptimized + debuginfo] target(s) in 16.46s Running /Users/xxx/Repos/github/MegFlow/target/debug/examples/run_with_plugins -p logical_test thread 'main' panicked at 'module megflow not found: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'megflow'"), traceback: None }', flow-rs/src/loader/python/mod.rs:139:51 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace [1] 15835 abort cargo run --example run_with_plugins -- -p logical_test

    context | 编译/运行环境

    MacOS Big Sur 11.5.2 (20G95) master 00de1fff1315e1c17ff23988905a36ddc3a8a222 python 3.8.10

    how to reproduce | 复现步骤

    1. brew install rust
    2. cd MegFlow; cargo build; cd flow-python; python setup.py install
    3. cd examples; cargo run --example run_with_plugins -- -p logical_test
    opened by xbwee1024 3
  • 猫猫围栏注册服务运行成功后无法打开网页

    猫猫围栏注册服务运行成功后无法打开网页

    运行环境:win11 wsl2 ubuntu2004

    运行状态如下

    2021-10-09 16:03:35.197 | INFO     | cat_finder.redis_proxy:__init__:24 - init redis pool...
    2021-10-09 16:03:35.197 | INFO     | cat_finder.det:__init__:21 - loading YOLOX detection...
    2021-10-09 16:03:39.074 | INFO     | cat_finder.det:__init__:36 -  YOLOX loaded.
    2021-10-09 16:03:39.074 | INFO     | cat_finder.reid_image:__init__:22 - loading Image Reid...
    2021-10-09 16:03:39.283 | DEBUG    | warehouse.reid_alignedreid.lite:inference:60 - ReID infer time: 0.0719s
    2021-10-09 16:03:39.284 | INFO     | cat_finder.reid_image:__init__:31 - Image Reid loaded.
    

    使用cURL发送post请求可以得到结果,但是浏览器无法打开网页 image

    opened by tangzhongsi 2
  • Dumping 'logical_test.png' failed

    Dumping 'logical_test.png' failed

    error log | 日志或报错信息

    $ megflow_run -p ./logical_test/ -c ./logical_test/logical_test.toml --dump
    thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)', flow-python/src/lib.rs:153:66
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    Aborted (core dumped)
    

    context | 编译/运行环境

    Ubuntu 20.04.4 LTS 64-bits
    python 3.8
    cuda11.3
    
    

    how to reproduce | 复现步骤

    1. build Megflow from source
    2. cd MegFlow/flow-python/examples
    3. megflow_run -p ./logical_test/ -c ./logical_test/logical_test.toml --dump
    opened by GWwangshuo 1
  • Bytes server

    Bytes server

    • Add BytesServer, bytes in bytes out.
    • Add server example flow-plugins/examples/bytes_server.toml
    • Add client example flow-python/examples/application/misc/bytes_client.py
    • Support https://github.com/MegEngine/MegFlow/issues/40
    opened by tpoisonooo 1
  • feat(flow-rs): use ffmpeg dylib

    feat(flow-rs): use ffmpeg dylib

    pyo3 问题, 对 macos 支持还在修复。

    • 修改 ffmpeg 为 .so 或 .dylib 调用,满足 LGPL 要求
    • 建图支持 dict ,即 Python 支持 map_reduce 类用法
    • 调整 Python 相关目录结构,区分应用范例和 megflow 本身用法的示例
    • 新增编译选项 open-camera,可以在 VideoServer 输入 /dev/video0 直接打开摄像头,此时不需要 RTSP
    • github 文档调整风格,支持到 docusaurus 风格转换。即一份文档可以两种部署
    opened by tpoisonooo 1
  • build(deps): bump tar from 4.4.17 to 4.4.19 in /flow-debugger/debugger-ui

    build(deps): bump tar from 4.4.17 to 4.4.19 in /flow-debugger/debugger-ui

    Bumps tar from 4.4.17 to 4.4.19.

    Commits
    • 9a6faa0 4.4.19
    • 70ef812 drop dirCache for symlink on all platforms
    • 3e35515 4.4.18
    • 52b09e3 fix: prevent path escape using drive-relative paths
    • bb93ba2 fix: reserve paths properly for unicode, windows
    • 2f1bca0 fix: prune dirCache properly for unicode, windows
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump express from 4.17.1 to 4.18.2 in /flow-debugger/debugger-ui

    build(deps): bump express from 4.17.1 to 4.18.2 in /flow-debugger/debugger-ui

    Bumps express from 4.17.1 to 4.18.2.

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 1
  • build(deps): bump qs and express in /flow-debugger/debugger-ui

    build(deps): bump qs and express in /flow-debugger/debugger-ui

    Bumps qs and express. These dependencies needed to be updated together. Updates qs from 6.5.2 to 6.5.3

    Changelog

    Sourced from qs's changelog.

    6.5.3

    • [Fix] parse: ignore __proto__ keys (#428)
    • [Fix] utils.merge: avoid a crash with a null target and a truthy non-array source
    • [Fix] correctly parse nested arrays
    • [Fix] stringify: fix a crash with strictNullHandling and a custom filter/serializeDate (#279)
    • [Fix] utils: merge: fix crash when source is a truthy primitive & no options are provided
    • [Fix] when parseArrays is false, properly handle keys ending in []
    • [Fix] fix for an impossible situation: when the formatter is called with a non-string value
    • [Fix] utils.merge: avoid a crash with a null target and an array source
    • [Refactor] utils: reduce observable [[Get]]s
    • [Refactor] use cached Array.isArray
    • [Refactor] stringify: Avoid arr = arr.concat(...), push to the existing instance (#269)
    • [Refactor] parse: only need to reassign the var once
    • [Robustness] stringify: avoid relying on a global undefined (#427)
    • [readme] remove travis badge; add github actions/codecov badges; update URLs
    • [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
    • [Docs] Clarify the need for "arrayLimit" option
    • [meta] fix README.md (#399)
    • [meta] add FUNDING.yml
    • [actions] backport actions from main
    • [Tests] always use String(x) over x.toString()
    • [Tests] remove nonexistent tape option
    • [Dev Deps] backport from main
    Commits
    • 298bfa5 v6.5.3
    • ed0f5dc [Fix] parse: ignore __proto__ keys (#428)
    • 691e739 [Robustness] stringify: avoid relying on a global undefined (#427)
    • 1072d57 [readme] remove travis badge; add github actions/codecov badges; update URLs
    • 12ac1c4 [meta] fix README.md (#399)
    • 0338716 [actions] backport actions from main
    • 5639c20 Clean up license text so it’s properly detected as BSD-3-Clause
    • 51b8a0b add FUNDING.yml
    • 45f6759 [Fix] fix for an impossible situation: when the formatter is called with a no...
    • f814a7f [Dev Deps] backport from main
    • Additional commits viewable in compare view

    Updates express from 4.17.1 to 4.18.2

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 1
  • build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /flow-debugger/debugger-ui

    build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /flow-debugger/debugger-ui

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 1
  • build(deps): bump loader-utils from 1.2.3 to 1.4.2 in /flow-debugger/debugger-ui

    build(deps): bump loader-utils from 1.2.3 to 1.4.2 in /flow-debugger/debugger-ui

    Bumps loader-utils from 1.2.3 to 1.4.2.

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    v1.4.0

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    v1.3.0

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)
    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 1
  • build(deps): bump thread_local from 1.1.3 to 1.1.4

    build(deps): bump thread_local from 1.1.3 to 1.1.4

    Bumps thread_local from 1.1.3 to 1.1.4.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies rust 
    opened by dependabot[bot] 1
  • build(deps): bump hyper from 0.14.11 to 0.14.16 in /flow-debugger

    build(deps): bump hyper from 0.14.11 to 0.14.16 in /flow-debugger

    Bumps hyper from 0.14.11 to 0.14.16.

    Release notes

    Sourced from hyper's releases.

    v0.14.16

    Features

    • http2: add http2_max_send_buf_size option to client and server (bff977b7)
    • server: add HTTP/1 header read timeout option (#2675) (842c6553, closes #2457)

    Bug Fixes

    • http1: return 414 when URI contains more than 65534 characters (#2706) (5f938fff, closes #2701)
    • http2: received Body::size_hint() now return 0 if implicitly empty (#2715) (84b78b6c)
    • server: use case-insensitive comparison for Expect: 100-continue (#2709) (7435cc33, closes #2708)

    New Contributors

    v0.14.15

    Bug Fixes

    • client: cancel blocking DNS lookup if GaiFuture is dropped (174b553d)

    Features

    • http1: add http1_writev(bool) options to Client and Server builders, to allow forcing vectored writes (80627141)
    • upgrade: allow http upgrades with any body type (ab469eb3)

    New Contributors

    v0.14.14

    Bug Fixes

    • client:
      • make ResponseFuture implement Sync (bd6c35b9)
      • remove ipv6 square brackets before resolving (910e0268)

    Features

    • http2: always include original h2 error on broken pipe (6169db25)
    • server: Remove Send + Sync requirement for Body in with_graceful_shutdown (1d553e52)

    v0.14.13

    Bug Fixes

    • client: don't reuse a connection while still flushing (c88011da)

    ... (truncated)

    Changelog

    Sourced from hyper's changelog.

    v0.14.16 (2021-12-09)

    Bug Fixes

    • http1: return 414 when URI contains more than 65534 characters (#2706) (5f938fff, closes #2701)
    • http2: received Body::size_hint() now return 0 if implicitly empty (#2715) (84b78b6c)
    • server: use case-insensitive comparison for Expect: 100-continue (#2709) (7435cc33, closes #2708)

    Features

    • http2: add http2_max_send_buf_size option to client and server (bff977b7)
    • server: add HTTP/1 header read timeout option (#2675) (842c6553, closes #2457)

    v0.14.15 (2021-11-16)

    Bug Fixes

    • client: cancel blocking DNS lookup if GaiFuture is dropped (174b553d

    Features

    • http1: add http1_writev(bool) options to Client and Server builders, to allow forcing vectored writes (80627141)
    • upgrade: allow http upgrades with any body type (ab469eb3)

    v0.14.14 (2021-10-22)

    Bug Fixes

    • client:
      • make ResponseFuture implement Sync (bd6c35b9)
      • remove ipv6 square brackets before resolving (910e0268)

    Features

    • h2: always include original h2 error on broken pipe (6169db25)
    • server: Remove Send + Sync requirement for Body in with_graceful_shutdown (1d553e52)

    v0.14.13 (2021-09-16)

    Bug Fixes

    • client: don't reuse a connection while still flushing (c88011da)

    ... (truncated)

    Commits
    • 41dee4a v0.14.16
    • bff977b feat(http2): add http2_max_send_buf_size option to client and server
    • 84b78b6 fix(http2): received Body::size_hint() now return 0 if implicitly empty (#2...
    • ce82425 refactor(lib): resolve unused warnings from server-specific code (#2710)
    • 7435cc3 fix(server): use case-insensitive comparison for Expect: 100-continue (#2709)
    • 5f938ff fix(http1): return 414 when URI contains more than 65534 characters (#2706)
    • 1010614 test(client): refactor client helper macro to handle options better
    • 842c655 feat(server): add HTTP/1 header read timeout option (#2675)
    • d0b1d9e v0.14.15
    • a1502e1 docs(http1): clarify HTTP1 preserve case option
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies rust 
    opened by dependabot[bot] 1
Releases(v0.3.5)
  • v0.3.5(Jan 10, 2022)

  • v0.1.0-beta3(Nov 12, 2021)

    What's Changed

    • Add web client (flv.js inside) tutorial to show video result
    • Fix readthedocs link error
    • Add en README
    • Add megflow_quickstart
    • Add Dockerfile.github-release to build py3.6~py3.9 .whl

    New Contributors

    • @chentyjpm made their first contribution in https://github.com/MegEngine/MegFlow/pull/38

    Full Changelog: https://github.com/MegEngine/MegFlow/compare/v0.1.0-beta2...v0.1.0-beta3

    Source code(tar.gz)
    Source code(zip)
    megflow-0.1.0-py36-none-linux_x86_64.whl(42.57 MB)
    megflow-0.1.0-py37-none-linux_x86_64.whl(42.57 MB)
    megflow-0.1.0-py38-none-linux_aarch64.whl(77.86 MB)
    megflow-0.1.0-py38-none-linux_x86_64.whl(42.58 MB)
    megflow-0.1.0-py39-none-linux_x86_64.whl(42.58 MB)
  • v0.1.0-beta2(Oct 20, 2021)

    • 完成 ARM jetson nano/ 鲲鹏 上的自测
    • 增加 pipeline 级测试功能
    • tutorial 增加串联建图、动态 batching
    • 初步增加 debugger 工具,可以基于 Web UI 完成图优化
    • 优化内部动态图创建、销毁过程
    • 优化打包脚本和 CI
    • 修复 python examples 一些 API 使用错误

    What's Changed

    • fix(memd): fix inference call by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/22
    • ci(action): add pylint and doc link check by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/19
    • docs(build): remove cargo after build success by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/23
    • Tutorial02 by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/24
    • docs(examples): update cat_finder video usage by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/25
    • Support arm by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/28
    • feat(project): release 0.1.0beta2 by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/30

    Full Changelog: https://github.com/MegEngine/MegFlow/compare/v0.1.0-beta1...v0.1.0-beta2

    Source code(tar.gz)
    Source code(zip)
    megflow-0.1.0-py36-none-linux_x86_64.whl(40.07 MB)
    megflow-0.1.0-py37-none-linux_x86_64.whl(40.07 MB)
    megflow-0.1.0-py38-none-linux_x86_64.whl(40.07 MB)
  • v0.1.0-beta1(Sep 19, 2021)

    • docker 增加 tuna 源。源码/docker build 受网络影响仍然比较严重,增加 prebuilt release
    • 增加 tutorial01 把分类模型搭建成服务
    • 修改了超多文档,CI 中增加 pylint 和 doc link check

    What's Changed

    • docs(build): add Dockerfile and prebuilt doc by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/3
    • Python whl add wrapper by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/4
    • docs(project): revert prebuilt whl; support macos by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/5
    • docs(Python): rewrite whl pack script by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/6
    • ci(build): action add macos by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/7
    • [DOCs] Fix link typo in README of electric_bicycle by @ysh329 in https://github.com/MegEngine/MegFlow/pull/8
    • Add logo by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/9
    • Update how-to-build-from-source.zh.md deal with Command 'cargo' not found by @kalcohol in https://github.com/MegEngine/MegFlow/pull/10
    • Update how-to-build-from-source.zh.md by @Easonzero in https://github.com/MegEngine/MegFlow/pull/11
    • Add tutorial 01 by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/12
    • docs(build): add build on win10 by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/13
    • Update doc by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/14
    • ci(docker): add tuna source by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/18
    • fix(build): add docker config by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/20
    • docs(project): add prebuilt .whl by @tpoisonooo in https://github.com/MegEngine/MegFlow/pull/21

    New Contributors

    • @ysh329 made their first contribution in https://github.com/MegEngine/MegFlow/pull/8
    • @kalcohol made their first contribution in https://github.com/MegEngine/MegFlow/pull/10
    • @Easonzero made their first contribution in https://github.com/MegEngine/MegFlow/pull/11

    Full Changelog: https://github.com/MegEngine/MegFlow/compare/v0.1.0-beta0...v0.1.0-beta1

    Source code(tar.gz)
    Source code(zip)
    megflow-0.1.0-py3.6-none-linux_x86_64.whl(39.93 MB)
    megflow-0.1.0-py3.7-none-linux_x86_64.whl(39.93 MB)
    megflow-0.1.0-py3.8-none-linux_x86_64.whl(39.93 MB)
  • v0.1.0-beta0(Sep 7, 2021)

    release beta

    | 系统 | 支持情况 | | - | - | | Windows 10 WSL ubuntu18.04 | ✔️ | | x86 Ubuntu16.04 有 GPU | ✔️ | | x86 Ubuntu18.04 无 GPU | ✔️ | | x86 macos | ✔️ |

    | Python 版本 | 支持情况 | | - | - | | 3.6 | ✔️ | | 3.7 | ✔️ | | 3.8 | ✔️ |

    初始化项目

    Rust 新增

    • toml 建图
    • 进程内子图共享、异常处理
    • 计算图性能统计接口
    • Image/Video Server
    • Python 共存

    Python 新增

    • 3 个 Examples
      • logical_test
      • cat_finder
      • MEMD
    • 1 个 github action、ubuntu 环境 Dockerfile
    • py3.6/3.7/3.8 版本 prebuilt 脚本

    New Contributors

    • @BBuf made their first contribution in https://github.com/MegEngine/MegFlow/pull/1

    Full Changelog: https://github.com/MegEngine/MegFlow/commits/v0.1.0-beta0

    Source code(tar.gz)
    Source code(zip)
Owner
旷视天元 MegEngine
旷视天元 MegEngine
DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.

DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective. 10x Larger Models 10x Faster Trainin

Microsoft 8.4k Dec 30, 2022
nn-Meter is a novel and efficient system to accurately predict the inference latency of DNN models on diverse edge devices

A DNN inference latency prediction toolkit for accurately modeling and predicting the latency on diverse edge devices.

Microsoft 241 Dec 26, 2022
Data Efficient Decision Making

Data Efficient Decision Making

Microsoft 197 Jan 6, 2023
MosaicML Composer contains a library of methods, and ways to compose them together for more efficient ML training

MosaicML Composer MosaicML Composer contains a library of methods, and ways to compose them together for more efficient ML training. We aim to ease th

MosaicML 2.8k Jan 6, 2023
Having a weak password is not good for a system that demands high confidentiality and security of user credentials

Having a weak password is not good for a system that demands high confidentiality and security of user credentials. It turns out that people find it difficult to make up a strong password that is strong enough to prevent unauthorized users from memorizing it.

PyLaboratory 0 Feb 7, 2022
Improving Calibration for Long-Tailed Recognition (CVPR2021)

MiSLAS Improving Calibration for Long-Tailed Recognition Authors: Zhisheng Zhong, Jiequan Cui, Shu Liu, Jiaya Jia [arXiv] [slide] [BibTeX] Introductio

Jia Research Lab 116 Dec 20, 2022
Improving Calibration for Long-Tailed Recognition (CVPR2021)

Improving Calibration for Long-Tailed Recognition (CVPR2021)

Jia Research Lab 19 Apr 28, 2021
Pytorch implementation for "Adversarial Robustness under Long-Tailed Distribution" (CVPR 2021 Oral)

Adversarial Long-Tail This repository contains the PyTorch implementation of the paper: Adversarial Robustness under Long-Tailed Distribution, CVPR 20

Tong WU 89 Dec 15, 2022
Exploring Classification Equilibrium in Long-Tailed Object Detection, ICCV2021

Exploring Classification Equilibrium in Long-Tailed Object Detection (LOCE, ICCV 2021) Paper Introduction The conventional detectors tend to make imba

null 52 Nov 21, 2022
Official Pytorch implementation of Test-Agnostic Long-Tailed Recognition by Test-Time Aggregating Diverse Experts with Self-Supervision.

This repository is the official Pytorch implementation of Test-Agnostic Long-Tailed Recognition by Test-Time Aggregating Diverse Experts with Self-Supervision.

vanint 101 Dec 30, 2022
Pytorch implementation for "Large-Scale Long-Tailed Recognition in an Open World" (CVPR 2019 ORAL)

Large-Scale Long-Tailed Recognition in an Open World [Project] [Paper] [Blog] Overview Open Long-Tailed Recognition (OLTR) is the author's re-implemen

Zhongqi Miao 761 Dec 26, 2022
Awesome Long-Tailed Learning

Awesome Long-Tailed Learning This repo pays specially attention to the long-tailed distribution, where labels follow a long-tailed or power-law distri

Stomach_ache 284 Jan 6, 2023
Improving Calibration for Long-Tailed Recognition (CVPR2021)

MiSLAS Improving Calibration for Long-Tailed Recognition Authors: Zhisheng Zhong, Jiequan Cui, Shu Liu, Jiaya Jia [arXiv] [slide] [BibTeX] Introductio

DV Lab 116 Dec 20, 2022
Towards Calibrated Model for Long-Tailed Visual Recognition from Prior Perspective

Towards Calibrated Model for Long-Tailed Visual Recognition from Prior Perspective Zhengzhuo Xu, Zenghao Chai, Chun Yuan This is the PyTorch implement

Sincere 16 Dec 15, 2022
Code for Discovering Topics in Long-tailed Corpora with Causal Intervention.

Code for Discovering Topics in Long-tailed Corpora with Causal Intervention ACL2021 Findings Usage 0. Prepare environment Requirements: python==3.6 te

Xiaobao Wu 8 Dec 16, 2022
A Simple Long-Tailed Rocognition Baseline via Vision-Language Model

BALLAD This is the official code repository for A Simple Long-Tailed Rocognition Baseline via Vision-Language Model. Requirements Python3 Pytorch(1.7.

Teli Ma 4 Jan 20, 2022
This is the official code repository for A Simple Long-Tailed Rocognition Baseline via Vision-Language Model.

BALLAD This is the official code repository for A Simple Long-Tailed Rocognition Baseline via Vision-Language Model. Requirements Python3 Pytorch(1.7.

peng gao 11 Dec 1, 2021
Code for the AAAI-2022 paper: Imagine by Reasoning: A Reasoning-Based Implicit Semantic Data Augmentation for Long-Tailed Classification

Imagine by Reasoning: A Reasoning-Based Implicit Semantic Data Augmentation for Long-Tailed Classification (AAAI 2022) Prerequisite PyTorch >= 1.2.0 P

null 16 Dec 14, 2022
Pytorch implementation of the AAAI 2022 paper "Cross-Domain Empirical Risk Minimization for Unbiased Long-tailed Classification"

[AAAI22] Cross-Domain Empirical Risk Minimization for Unbiased Long-tailed Classification We point out the overlooked unbiasedness in long-tailed clas

PatatiPatata 28 Oct 18, 2022
On Size-Oriented Long-Tailed Graph Classification of Graph Neural Networks

On Size-Oriented Long-Tailed Graph Classification of Graph Neural Networks We provide the code (in PyTorch) and datasets for our paper "On Size-Orient

Zemin Liu 4 Jun 18, 2022