iflytek / aiges Goto Github PK
View Code? Open in Web Editor NEWAI Serving framework loader
License: Apache License 2.0
AI Serving framework loader
License: Apache License 2.0
开发者定义openapi, 从openapi生成插件协议部分
A bug happened!
17:47:12.411
terminate called after throwing an instance of 'spdlog::spdlog_ex'
17:47:12.411
what(): Failed opening file ./log/server/wrapper.log for writing: No such file or directory
No response
Use protobuff to comunicate with the python inference
add support for conda baseimage build.
I am Vansin, the technical operator of OpenMMLab. In September of last year, we announced the release of OpenMMLab 2.0 at the World Artificial Intelligence Conference in Shanghai. We invite you to upgrade your algorithm library to OpenMMLab 2.0 using MMEngine, which can be used for both research and commercial purposes. If you have any questions, please feel free to join us on the OpenMMLab Discord at https://discord.gg/amFNsyUBvm or add me on WeChat (van-sin) and I will invite you to the OpenMMLab WeChat group.
Here are the OpenMMLab 2.0 repos branches:
OpenMMLab 1.0 branch | OpenMMLab 2.0 branch | |
---|---|---|
MMEngine | 0.x | |
MMCV | 1.x | 2.x |
MMDetection | 0.x 、1.x、2.x | 3.x |
MMAction2 | 0.x | 1.x |
MMClassification | 0.x | 1.x |
MMSegmentation | 0.x | 1.x |
MMDetection3D | 0.x | 1.x |
MMEditing | 0.x | 1.x |
MMPose | 0.x | 1.x |
MMDeploy | 0.x | 1.x |
MMTracking | 0.x | 1.x |
MMOCR | 0.x | 1.x |
MMRazor | 0.x | 1.x |
MMSelfSup | 0.x | 1.x |
MMRotate | 1.x | 1.x |
MMYOLO | 0.x |
Attention: please create a new virtual environment for OpenMMLab 2.0.
A bug happened!
Where there is no http_listen filed in aiges.toml, wrapper will not start.
invalied Configure in read s3fd0bd99=>http_listen
EngService exit
No response
Hi, wei.
This is an amazing and useful tool and I want to know can I use service mesh framework in this project?
Thx.
aiges's base image ,aiges_gpu image CI build and push to ecr registriy
A bug happened!
if no such field in aiges.toml, service will not work normally.
[ws]
readTimeout = 15
sessionTimeout = 180
No response
need to trace
最近使用——aiges- gpu:10.1-1.17-3.9.13-ubuntu1804-V3.0.5版本镜像,在验证py加载器时失败,同一个加载器在使用原来的老镜像aiges- gpu:10.1-1.17-3.9.13-ubuntu1804-V2.1.0时能够验证成功。
查看容器日志,可能是打开日志文件失败:Failed opening file ./log/server/wrapper.log for writing: No such file or directory,希望排查一下这种问题的原因
No response
as https://github.com/xfyun/aiges/blob/master/doc/design/wrapper_interface.md mentioned:
here is some sugguestions from the inner disscusions:
1、用户通过在 wrapper.py中 编写推理逻辑,定义输入、输出数据、即可自动生成 schema文件,该文件可通过 ase_ctl 工具导入配置中心
goreportcard.com
need to port the xtest code
The aiges loader process cannot be closed with ctrl + c, and the kill command is also required. We have this problem inside the docker container.
build xtest to docker
make the demo to submodule
Define a yaml like this:
apiVersion: v1
kind: AIService
metadata:
name: yolov5-demo-service
spec:
containerSpec: ...
modelSpec: ...
After defined that , we can apply this to create an API using kubectl command native.
support stream processing
the dockerfile in mmocr is lost.
first..
can't pull release docker images. please check
use command to init wrapper:
python3 -m aiges create -n mnist
wrapper.py
-->class UserRequest
---->input2 = StringBodyField(key="switch", value="ctrl")
ERROR: StringBodyField value must be bytes String...
input2 = StringBodyField(key="switch", value="ctrl")
No response
when user doesn't supply the function parameters, https://github.com/xfyun/aiges/blob/5364e44aaea2771c34991a2c97e4f5834f93fa90/ai_cpython_wrapper/wrapper.cpp#L151 will crashed
Support Gradio , to generate gradio APP
Although we already support websocket protocol, we need a stream implment like ws because of our longtime inference.
当研发一个新能力并对外发布一个新能力的时候,分别对应两阶段环境部署过程。
开发阶段: 往往需要setup一些框架以及框架周边工具,以及开发者自己定义的工具类, 等训练出模型;
推理阶段: 使用模型或者封装了模型的engine进行推理,模型根据不同的框架也存在不同的格式,但是业界也在逐步向onnx模型范式演进。这一阶段的环境依赖往往比较纯粹, 至少比开发阶段要少很多依赖。
问题以及痛点: 算法开发者当前同时也会推理服务开发,对大多数开发者,他们很难意识到2个环境的差异,因此往往在infer阶段共享使用了dev环境的依赖,造成infer阶段依赖特别冗余。再者由于python环境的不一致,pip freeze生成的一些依赖列表,往往无法自动化完成在新环境完成原环境的最小复现。
对此,我们再构建基础镜像时,也考虑了一些方案但是都并不完美,在发现 https://github.com/gaocegege 发起的 envd后,我们似乎发现有了同一目标项目,因此,我们计划后续在envd项目中来完善并解决这个问题
we want to using openfaass framework can directly create a function which is build with aiges...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.