Commit Graph

2154 Commits

Author SHA1 Message Date
suluyan.sly
f568454bbe [swingdeploy] oss examples
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14342415
* oss_examples
2023-10-18 16:29:13 +08:00
mulin.lyh
f5b83ebd83 fix chatglm2 can't find tokenizer issue
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14335080
* fix chatglm2 can't find tokenizer issue
2023-10-17 22:15:54 +08:00
wenmeng.zwm
84352ec9e8 Merge branch merge_github_fix_merge_error into master
Title: fix merge error (#582) 
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14333635
2023-10-17 21:16:53 +08:00
Jintao
c01141f97e fix merge error (#582) 2023-10-17 17:32:25 +08:00
mulin.lyh
c67b2cfc34 fix ofa new transformers compatible issue
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14317517
* fix ofa new transformers compatible issue

* fix timm.layers to timm.models.layers compatible issue
2023-10-16 22:12:31 +08:00
mulin.lyh
049bde9ddf move venv import from file level to class level to avoid import error… (#575)
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14301042
* move venv import from file level to class level to avoid import error… (#575)

* move venv import from file level to class level to avoid import error on windows


---------

authored-by: Zhicheng Zhang <zhangzhicheng.zzc@alibaba-inc.com>
2023-10-13 22:27:51 +08:00
mulin.lyh
6e424cdb69 force upgrade transformers when build image
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14293744
* force upgrade transformers when build image
2023-10-13 19:54:48 +08:00
mulin.lyh
4ac59e29b0 refactor ci to analyze file dependency
import分析不需要实际import文件,通过静态扫描,得到文件中定义的符号,在分析import时找到import的符号所在的文件,从而建立起关联。
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14281794
* refactor ci

* fix typo

* fix bug

* test

* add indirect import name resolve

* remove test code
2023-10-13 14:11:30 +08:00
hemu.zp
4cad376298 Add llm_first parameter for pipeline
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14264249

* support llm_first parameter

* register_module(Tasks.text_generation)

* fix bug

* update format & fix out_base64 for int4

* pre-commit
2023-10-13 14:04:04 +08:00
baiguan.yt
582c3a5415 add pasd_v2 保真度更好
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14202282
2023-10-11 09:59:19 +08:00
mulin.lyh
2b9248de08 modify hub use https 2023-10-10 10:16:08 +08:00
hemu.zp
d64cfa48bc Support int4 model for llm_pipeline
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14214673

* use ms qwen update

* support baichuan2 int4

* update qwen vl unittest and fix bug

* init from AutoModelForCausalLM

* add todo for AutoModelForCausalLM
2023-10-09 16:16:33 +08:00
mulin.lyh
c3e2a0e842 fix provider bug 2023-09-28 17:14:42 +08:00
mulin.lyh
146e69e6ba fix onnxruntime providers parameter compatible issue 2023-09-28 14:19:36 +08:00
狄咖
74abc2e63f [feat]chat pipeline 2023-09-28 00:54:41 +08:00
mulin.lyh
2dcc6b0cca Merge branch 'update_automodel' 2023-09-27 23:58:07 +08:00
mulin.lyh
0b4c1e6178 Merge branch 'master' of http://gitlab.alibaba-inc.com/Ali-MaaS/MaaS-lib 2023-09-27 23:57:46 +08:00
Jintao Huang
983ca6e1b6 remove ignore_file_pattern 2023-09-27 21:15:55 +08:00
mulin.lyh
dc7da322cb Merge remote-tracking branch 'origin/github_hf_fix_0927' 2023-09-27 21:03:57 +08:00
lingcai.wl
d22a785136 [to #51336898] fix minor problems in deploying
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14190317
2023-09-27 19:42:54 +08:00
Jintao
addee56af0 fix hf bug (#569) 2023-09-27 18:44:12 +08:00
mulin.lyh
f426e49d3b fix hf bug (#567)
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14181647
* fix hf bug (#567)
2023-09-27 09:33:32 +08:00
wenmeng.zwm
1e7a170089 Merge branch master-merge-github925 into master
Title: add install swift from oss 
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14181483
2023-09-26 21:34:53 +08:00
mulin.lyh
23f1f474bf Merge branch 'master-github' into master-merge-github925
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14164566
2023-09-26 21:15:41 +08:00
mulin.lyh
dd9fa8b69c add install swift from oss 2023-09-26 16:40:26 +08:00
mulin.lyh
7fa3634ce4 skip compatible issuel cases 2023-09-26 15:23:05 +08:00
mulin.lyh
223f13ae80 fix lint issue 2023-09-26 11:00:08 +08:00
mulin.lyh
d57bd0bfd6 fix ci issue 2023-09-26 10:54:42 +08:00
mulin.lyh
6c7a19ca35 fix ci issue 2023-09-25 23:53:36 +08:00
myf272609
2ee65141e6 [to #42322933] add 3dhuman render and animation models
新增3D人物模型渲染pipeline
新增3D角色自动驱动pipeline

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14146042

* upload 3dhuman render and animation code

* remove chumpy dependence

* feat: Fix conflict, auto commit by WebIDE

* modify code structure, add user inputs, etc.

* add output path
2023-09-25 21:09:18 +08:00
mulin.lyh
614889e351 Merge branch 'master-github' into master-merge-github925 2023-09-25 20:27:40 +08:00
mulin.lyh
0bf29cf7c4 Merge branch 'master' of gitlab.alibaba-inc.com:Ali-MaaS/MaaS-lib into master-gitlab 2023-09-25 20:24:32 +08:00
jinmao.yk
0dd95b27dd add texture generation task(文本引导纹理生成)
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14123234
* add texture generation task

* add output dir

* add input
2023-09-25 20:03:04 +08:00
Wang Qiang
ef97e3b0fe support swift trainer and pipeline (#547)
* support swift trainer and pipeline

* support swift lora pipeline

* stable diffusion xl trainer

* tests sdxl

* fix diffusers attention

* swift support

* support swift sd

---------

Co-authored-by: 翊靖 <yijing.wq@alibaba-inc.com>
2023-09-25 19:24:54 +08:00
tastelikefeet
70fe158d13 add quantization import to library (#562)
* add quantization import to library

* pre-commit passed
2023-09-25 19:19:55 +08:00
lipandeng.lpd
514848251c prost add support for cpu
支持cpu
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14126219
2023-09-25 14:19:16 +08:00
Yabin Li
881488a830 fix bug: support local asr models (#556)
* fix bug: support local asr models

* update asr_inference_pipeline
2023-09-25 14:02:54 +08:00
yuanzhi.zyz
860cdf5f48 add onnx exporter for ocr recognition model
1. 添加ocr recognition相关的exporter,支持现有三类模型转onnx
2. 更新lightweight模型
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14135723
* add ocr recognition export and update lightweight model

* fix
2023-09-25 11:34:53 +08:00
xixing.tj
e7e712c5c2 add onnx exporter for ocr_detection db model
支持ocr_detection db pytorch模型转onnx
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14117993
* add onnx exporter for ocr_detection db model

* add code for onnx convert

* fix bug
2023-09-25 11:34:28 +08:00
ryan.yy
04b24814ca 新建模型 image_control_3d_portrait
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14003131

* add image_control_3d_portrait code

* update requirements

* remove duplicate plyfile

* update test_image_control_3d_portrait code

* update test code

* update requirements

* change face landmark models and  revise as cr suggests

* add save images choice

* add image_control_3d_portrait.jpg

* mv ops related code to modelscope/ops
2023-09-25 11:23:02 +08:00
yanyi.ys
e686db72e5 zero123-XL-图像视角变换
该代码用于对给定图片中的物体进行多视角的生成,并且能够按照指定的视角进行生成。
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13902247
* [to #42322933] add files

* update test data

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* Merge remote-tracking branch 'origin' into feature/image_view_transform
merge master

* [to #42322933] add files

* [to #42322933] add files

* Merge remote-tracking branch 'origin' into feature/image_view_transform
merge the master

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files

* [to #42322933] add files
2023-09-24 16:21:53 +08:00
suluyan.sly
d7c2a91e2c swing deploy api
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14103985
* tester

* bug fixed: download_file not import

* input example analyzer

* api: get_task_input_examples

* update chat

* 43 task

* fix decode_base64

* json format

* schema
2023-09-22 19:18:57 +08:00
jiangzeyinzi
3e6acb7998 Compatible with Swift on SD Tuner (#554)
Co-authored-by: zeyinzi.jzyz <zeyinzi.jzyz@alibaba-inc.com>
2023-09-21 16:02:31 +08:00
biwen.lbw
10d1fbe86f add head_reconstruction and text_to_head model
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14099746

* add head_reconstruction and text_to_head model

* change savedir
2023-09-21 10:41:25 +08:00
wenmeng zhou
cd976a366a add contact info to issue template (#552) 2023-09-20 20:39:28 +08:00
mulin.lyh
8c80b0c3f5 support master branch version and add http request id
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14072105
* support master branch version and add http request id

* modify no revision use master

* add specified revision="master"

* error message add request id
2023-09-20 19:29:30 +08:00
lingcai.wl
9c4cdb15d0 [to #51336898] fix minor problems in deploying, convert img output to cv2
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14009870
2023-09-20 15:10:41 +08:00
rujiao.lrj
6b09cb3d7a add model for card correction
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14049168
2023-09-19 19:20:19 +08:00
Shen Huang
5ef842e38a enable token_cls_pipeline to inference on longer inputs and return entity probabilities (#551)
* allow token classification pipelines to predict longer sentences

* bugfix

* skip adaseq pipeline ut when connection error occurs

* return entity probabilities
2023-09-19 17:34:41 +08:00
wenmeng zhou
1594cb1ffe Merge pull request #542 from modelscope/master-merge-internal20230916
Master merge internal20230916
2023-09-19 14:36:41 +08:00