xinference 0.14.4.post1__py3-none-any.whl → 0.15.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of xinference might be problematic. Click here for more details.

Files changed (194) hide show
  1. xinference/_compat.py +51 -0
  2. xinference/_version.py +3 -3
  3. xinference/api/restful_api.py +209 -40
  4. xinference/client/restful/restful_client.py +7 -26
  5. xinference/conftest.py +1 -1
  6. xinference/constants.py +5 -0
  7. xinference/core/cache_tracker.py +1 -1
  8. xinference/core/chat_interface.py +8 -14
  9. xinference/core/event.py +1 -1
  10. xinference/core/image_interface.py +28 -0
  11. xinference/core/model.py +110 -31
  12. xinference/core/scheduler.py +37 -37
  13. xinference/core/status_guard.py +1 -1
  14. xinference/core/supervisor.py +17 -10
  15. xinference/core/utils.py +80 -22
  16. xinference/core/worker.py +17 -16
  17. xinference/deploy/cmdline.py +8 -16
  18. xinference/deploy/local.py +1 -1
  19. xinference/deploy/supervisor.py +1 -1
  20. xinference/deploy/utils.py +1 -1
  21. xinference/deploy/worker.py +1 -1
  22. xinference/model/audio/cosyvoice.py +86 -41
  23. xinference/model/audio/fish_speech.py +9 -9
  24. xinference/model/audio/model_spec.json +9 -9
  25. xinference/model/audio/whisper.py +4 -1
  26. xinference/model/embedding/core.py +52 -31
  27. xinference/model/image/core.py +2 -1
  28. xinference/model/image/model_spec.json +16 -4
  29. xinference/model/image/model_spec_modelscope.json +16 -4
  30. xinference/model/image/sdapi.py +136 -0
  31. xinference/model/image/stable_diffusion/core.py +164 -19
  32. xinference/model/llm/__init__.py +29 -11
  33. xinference/model/llm/llama_cpp/core.py +16 -33
  34. xinference/model/llm/llm_family.json +1011 -1296
  35. xinference/model/llm/llm_family.py +34 -53
  36. xinference/model/llm/llm_family_csghub.json +18 -35
  37. xinference/model/llm/llm_family_modelscope.json +981 -1122
  38. xinference/model/llm/lmdeploy/core.py +56 -88
  39. xinference/model/llm/mlx/core.py +46 -69
  40. xinference/model/llm/sglang/core.py +36 -18
  41. xinference/model/llm/transformers/chatglm.py +168 -306
  42. xinference/model/llm/transformers/cogvlm2.py +36 -63
  43. xinference/model/llm/transformers/cogvlm2_video.py +33 -223
  44. xinference/model/llm/transformers/core.py +55 -50
  45. xinference/model/llm/transformers/deepseek_v2.py +340 -0
  46. xinference/model/llm/transformers/deepseek_vl.py +53 -96
  47. xinference/model/llm/transformers/glm4v.py +55 -111
  48. xinference/model/llm/transformers/intern_vl.py +39 -70
  49. xinference/model/llm/transformers/internlm2.py +32 -54
  50. xinference/model/llm/transformers/minicpmv25.py +22 -55
  51. xinference/model/llm/transformers/minicpmv26.py +158 -68
  52. xinference/model/llm/transformers/omnilmm.py +5 -28
  53. xinference/model/llm/transformers/qwen2_audio.py +168 -0
  54. xinference/model/llm/transformers/qwen2_vl.py +234 -0
  55. xinference/model/llm/transformers/qwen_vl.py +34 -86
  56. xinference/model/llm/transformers/utils.py +32 -38
  57. xinference/model/llm/transformers/yi_vl.py +32 -72
  58. xinference/model/llm/utils.py +280 -554
  59. xinference/model/llm/vllm/core.py +161 -100
  60. xinference/model/rerank/core.py +41 -8
  61. xinference/model/rerank/model_spec.json +7 -0
  62. xinference/model/rerank/model_spec_modelscope.json +7 -1
  63. xinference/model/utils.py +1 -31
  64. xinference/thirdparty/cosyvoice/bin/export_jit.py +64 -0
  65. xinference/thirdparty/cosyvoice/bin/export_trt.py +8 -0
  66. xinference/thirdparty/cosyvoice/bin/inference.py +5 -2
  67. xinference/thirdparty/cosyvoice/cli/cosyvoice.py +38 -22
  68. xinference/thirdparty/cosyvoice/cli/model.py +139 -26
  69. xinference/thirdparty/cosyvoice/flow/flow.py +15 -9
  70. xinference/thirdparty/cosyvoice/flow/length_regulator.py +20 -1
  71. xinference/thirdparty/cosyvoice/hifigan/generator.py +8 -4
  72. xinference/thirdparty/cosyvoice/llm/llm.py +14 -13
  73. xinference/thirdparty/cosyvoice/transformer/attention.py +7 -3
  74. xinference/thirdparty/cosyvoice/transformer/decoder.py +1 -1
  75. xinference/thirdparty/cosyvoice/transformer/embedding.py +4 -3
  76. xinference/thirdparty/cosyvoice/transformer/encoder.py +4 -2
  77. xinference/thirdparty/cosyvoice/utils/common.py +36 -0
  78. xinference/thirdparty/cosyvoice/utils/file_utils.py +16 -0
  79. xinference/thirdparty/deepseek_vl/serve/assets/Kelpy-Codos.js +100 -0
  80. xinference/thirdparty/deepseek_vl/serve/assets/avatar.png +0 -0
  81. xinference/thirdparty/deepseek_vl/serve/assets/custom.css +355 -0
  82. xinference/thirdparty/deepseek_vl/serve/assets/custom.js +22 -0
  83. xinference/thirdparty/deepseek_vl/serve/assets/favicon.ico +0 -0
  84. xinference/thirdparty/deepseek_vl/serve/examples/app.png +0 -0
  85. xinference/thirdparty/deepseek_vl/serve/examples/chart.png +0 -0
  86. xinference/thirdparty/deepseek_vl/serve/examples/mirror.png +0 -0
  87. xinference/thirdparty/deepseek_vl/serve/examples/pipeline.png +0 -0
  88. xinference/thirdparty/deepseek_vl/serve/examples/puzzle.png +0 -0
  89. xinference/thirdparty/deepseek_vl/serve/examples/rap.jpeg +0 -0
  90. xinference/thirdparty/fish_speech/fish_speech/configs/base.yaml +87 -0
  91. xinference/thirdparty/fish_speech/fish_speech/configs/firefly_gan_vq.yaml +33 -0
  92. xinference/thirdparty/fish_speech/fish_speech/configs/lora/r_8_alpha_16.yaml +4 -0
  93. xinference/thirdparty/fish_speech/fish_speech/configs/text2semantic_finetune.yaml +83 -0
  94. xinference/thirdparty/fish_speech/fish_speech/datasets/protos/text-data.proto +24 -0
  95. xinference/thirdparty/fish_speech/fish_speech/i18n/README.md +27 -0
  96. xinference/thirdparty/fish_speech/fish_speech/i18n/locale/en_US.json +1 -1
  97. xinference/thirdparty/fish_speech/fish_speech/i18n/locale/es_ES.json +1 -1
  98. xinference/thirdparty/fish_speech/fish_speech/i18n/locale/ja_JP.json +1 -1
  99. xinference/thirdparty/fish_speech/fish_speech/i18n/locale/pt_BR.json +1 -1
  100. xinference/thirdparty/fish_speech/fish_speech/i18n/locale/zh_CN.json +1 -1
  101. xinference/thirdparty/fish_speech/fish_speech/models/text2semantic/llama.py +2 -2
  102. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/__init__.py +0 -3
  103. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/modules/firefly.py +169 -198
  104. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/modules/fsq.py +4 -27
  105. xinference/thirdparty/fish_speech/fish_speech/text/chn_text_norm/.gitignore +114 -0
  106. xinference/thirdparty/fish_speech/fish_speech/text/chn_text_norm/README.md +36 -0
  107. xinference/thirdparty/fish_speech/fish_speech/text/clean.py +9 -47
  108. xinference/thirdparty/fish_speech/fish_speech/text/spliter.py +2 -2
  109. xinference/thirdparty/fish_speech/fish_speech/train.py +2 -0
  110. xinference/thirdparty/fish_speech/fish_speech/webui/css/style.css +161 -0
  111. xinference/thirdparty/fish_speech/fish_speech/webui/html/footer.html +11 -0
  112. xinference/thirdparty/fish_speech/fish_speech/webui/js/animate.js +69 -0
  113. xinference/thirdparty/fish_speech/fish_speech/webui/manage.py +12 -10
  114. xinference/thirdparty/fish_speech/tools/api.py +79 -134
  115. xinference/thirdparty/fish_speech/tools/commons.py +35 -0
  116. xinference/thirdparty/fish_speech/tools/download_models.py +3 -3
  117. xinference/thirdparty/fish_speech/tools/file.py +17 -0
  118. xinference/thirdparty/fish_speech/tools/llama/build_dataset.py +1 -1
  119. xinference/thirdparty/fish_speech/tools/llama/generate.py +29 -24
  120. xinference/thirdparty/fish_speech/tools/llama/merge_lora.py +1 -1
  121. xinference/thirdparty/fish_speech/tools/llama/quantize.py +2 -2
  122. xinference/thirdparty/fish_speech/tools/msgpack_api.py +34 -0
  123. xinference/thirdparty/fish_speech/tools/post_api.py +85 -44
  124. xinference/thirdparty/fish_speech/tools/sensevoice/README.md +59 -0
  125. xinference/thirdparty/fish_speech/tools/sensevoice/fun_asr.py +1 -1
  126. xinference/thirdparty/fish_speech/tools/smart_pad.py +16 -3
  127. xinference/thirdparty/fish_speech/tools/vqgan/extract_vq.py +2 -2
  128. xinference/thirdparty/fish_speech/tools/vqgan/inference.py +4 -2
  129. xinference/thirdparty/fish_speech/tools/webui.py +12 -146
  130. xinference/thirdparty/matcha/VERSION +1 -0
  131. xinference/thirdparty/matcha/hifigan/LICENSE +21 -0
  132. xinference/thirdparty/matcha/hifigan/README.md +101 -0
  133. xinference/thirdparty/omnilmm/LICENSE +201 -0
  134. xinference/thirdparty/whisper/__init__.py +156 -0
  135. xinference/thirdparty/whisper/__main__.py +3 -0
  136. xinference/thirdparty/whisper/assets/gpt2.tiktoken +50256 -0
  137. xinference/thirdparty/whisper/assets/mel_filters.npz +0 -0
  138. xinference/thirdparty/whisper/assets/multilingual.tiktoken +50257 -0
  139. xinference/thirdparty/whisper/audio.py +157 -0
  140. xinference/thirdparty/whisper/decoding.py +826 -0
  141. xinference/thirdparty/whisper/model.py +314 -0
  142. xinference/thirdparty/whisper/normalizers/__init__.py +2 -0
  143. xinference/thirdparty/whisper/normalizers/basic.py +76 -0
  144. xinference/thirdparty/whisper/normalizers/english.json +1741 -0
  145. xinference/thirdparty/whisper/normalizers/english.py +550 -0
  146. xinference/thirdparty/whisper/timing.py +386 -0
  147. xinference/thirdparty/whisper/tokenizer.py +395 -0
  148. xinference/thirdparty/whisper/transcribe.py +605 -0
  149. xinference/thirdparty/whisper/triton_ops.py +109 -0
  150. xinference/thirdparty/whisper/utils.py +316 -0
  151. xinference/thirdparty/whisper/version.py +1 -0
  152. xinference/types.py +14 -53
  153. xinference/web/ui/build/asset-manifest.json +6 -6
  154. xinference/web/ui/build/index.html +1 -1
  155. xinference/web/ui/build/static/css/{main.4bafd904.css → main.5061c4c3.css} +2 -2
  156. xinference/web/ui/build/static/css/main.5061c4c3.css.map +1 -0
  157. xinference/web/ui/build/static/js/main.754740c0.js +3 -0
  158. xinference/web/ui/build/static/js/{main.eb13fe95.js.LICENSE.txt → main.754740c0.js.LICENSE.txt} +2 -0
  159. xinference/web/ui/build/static/js/main.754740c0.js.map +1 -0
  160. xinference/web/ui/node_modules/.cache/babel-loader/10c69dc7a296779fcffedeff9393d832dfcb0013c36824adf623d3c518b801ff.json +1 -0
  161. xinference/web/ui/node_modules/.cache/babel-loader/68bede6d95bb5ef0b35bbb3ec5b8c937eaf6862c6cdbddb5ef222a7776aaf336.json +1 -0
  162. xinference/web/ui/node_modules/.cache/babel-loader/77d50223f3e734d4485cca538cb098a8c3a7a0a1a9f01f58cdda3af42fe1adf5.json +1 -0
  163. xinference/web/ui/node_modules/.cache/babel-loader/a56d5a642409a84988891089c98ca28ad0546432dfbae8aaa51bc5a280e1cdd2.json +1 -0
  164. xinference/web/ui/node_modules/.cache/babel-loader/cd90b08d177025dfe84209596fc51878f8a86bcaa6a240848a3d2e5fd4c7ff24.json +1 -0
  165. xinference/web/ui/node_modules/.cache/babel-loader/d9ff696a3e3471f01b46c63d18af32e491eb5dc0e43cb30202c96871466df57f.json +1 -0
  166. xinference/web/ui/node_modules/.cache/babel-loader/e42b72d4cc1ea412ebecbb8d040dc6c6bfee462c33903c2f1f3facb602ad742e.json +1 -0
  167. xinference/web/ui/node_modules/.cache/babel-loader/f5039ddbeb815c51491a1989532006b96fc3ae49c6c60e3c097f875b4ae915ae.json +1 -0
  168. xinference/web/ui/node_modules/.package-lock.json +37 -0
  169. xinference/web/ui/node_modules/a-sync-waterfall/package.json +21 -0
  170. xinference/web/ui/node_modules/nunjucks/node_modules/commander/package.json +48 -0
  171. xinference/web/ui/node_modules/nunjucks/package.json +112 -0
  172. xinference/web/ui/package-lock.json +38 -0
  173. xinference/web/ui/package.json +1 -0
  174. {xinference-0.14.4.post1.dist-info → xinference-0.15.1.dist-info}/METADATA +16 -10
  175. {xinference-0.14.4.post1.dist-info → xinference-0.15.1.dist-info}/RECORD +179 -127
  176. xinference/model/llm/transformers/llama_2.py +0 -108
  177. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/lit_module.py +0 -442
  178. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/modules/discriminator.py +0 -44
  179. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/modules/reference.py +0 -115
  180. xinference/thirdparty/fish_speech/fish_speech/models/vqgan/modules/wavenet.py +0 -225
  181. xinference/thirdparty/fish_speech/tools/auto_rerank.py +0 -159
  182. xinference/thirdparty/fish_speech/tools/gen_ref.py +0 -36
  183. xinference/thirdparty/fish_speech/tools/merge_asr_files.py +0 -55
  184. xinference/web/ui/build/static/css/main.4bafd904.css.map +0 -1
  185. xinference/web/ui/build/static/js/main.eb13fe95.js +0 -3
  186. xinference/web/ui/build/static/js/main.eb13fe95.js.map +0 -1
  187. xinference/web/ui/node_modules/.cache/babel-loader/0b11a5339468c13b2d31ac085e7effe4303259b2071abd46a0a8eb8529233a5e.json +0 -1
  188. xinference/web/ui/node_modules/.cache/babel-loader/213b5913e164773c2b0567455377765715f5f07225fbac77ad8e1e9dc9648a47.json +0 -1
  189. xinference/web/ui/node_modules/.cache/babel-loader/5c26a23b5eacf5b752a08531577ae3840bb247745ef9a39583dc2d05ba93a82a.json +0 -1
  190. xinference/web/ui/node_modules/.cache/babel-loader/978b57d1a04a701bc3fcfebc511f5f274eed6ed7eade67f6fb76c27d5fd9ecc8.json +0 -1
  191. {xinference-0.14.4.post1.dist-info → xinference-0.15.1.dist-info}/LICENSE +0 -0
  192. {xinference-0.14.4.post1.dist-info → xinference-0.15.1.dist-info}/WHEEL +0 -0
  193. {xinference-0.14.4.post1.dist-info → xinference-0.15.1.dist-info}/entry_points.txt +0 -0
  194. {xinference-0.14.4.post1.dist-info → xinference-0.15.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,112 @@
1
+ {
2
+ "name": "nunjucks",
3
+ "description": "A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)",
4
+ "version": "3.2.4",
5
+ "author": "James Long <longster@gmail.com>",
6
+ "dependencies": {
7
+ "a-sync-waterfall": "^1.0.0",
8
+ "asap": "^2.0.3",
9
+ "commander": "^5.1.0"
10
+ },
11
+ "browser": "./browser/nunjucks.js",
12
+ "devDependencies": {
13
+ "@babel/cli": "^7.0.0-beta.38",
14
+ "@babel/core": "^7.0.0-beta.38",
15
+ "@babel/preset-env": "^7.0.0-beta.38",
16
+ "@babel/register": "^7.0.0-beta.38",
17
+ "babel-loader": "^8.0.0-beta.0",
18
+ "babel-plugin-istanbul": "^4.1.5",
19
+ "babel-plugin-module-resolver": "3.0.0-beta.5",
20
+ "connect": "^3.6.5",
21
+ "core-js": "^2.5.3",
22
+ "cross-env": "^5.1.3",
23
+ "eslint": "^4.13.0",
24
+ "eslint-config-airbnb-base": "^12.1.0",
25
+ "eslint-plugin-import": "^2.8.0",
26
+ "expect.js": "*",
27
+ "express": "4.x",
28
+ "fs-extra": "^5.0.0",
29
+ "get-port": "^3.2.0",
30
+ "mocha": "< 8.x",
31
+ "mocha-phantomjs-core": "^2.1.2",
32
+ "mocha-phantomjs-istanbul": "0.0.2",
33
+ "module-alias": "^2.0.3",
34
+ "node-libs-browser": "^0.7.0",
35
+ "nyc": "^11.4.1",
36
+ "phantomjs-prebuilt": "^2.1.16",
37
+ "serve-static": "^1.13.1",
38
+ "supertest": "*",
39
+ "uglify-js": "^2.8.29",
40
+ "uglifyjs-webpack-plugin": "^1.1.6",
41
+ "webpack": "^3.10.0"
42
+ },
43
+ "buildDependencies": {
44
+ "@babel/cli": "^7.0.0-beta.38",
45
+ "@babel/core": "^7.0.0-beta.38",
46
+ "@babel/preset-env": "^7.0.0-beta.38",
47
+ "@babel/register": "^7.0.0-beta.38",
48
+ "babel-loader": "^8.0.0-beta.0",
49
+ "babel-plugin-istanbul": "^4.1.5",
50
+ "babel-plugin-module-resolver": "3.0.0-beta.5",
51
+ "core-js": "^2.5.3",
52
+ "module-alias": "^2.0.3",
53
+ "node-libs-browser": "^0.7.0",
54
+ "uglify-js": "^2.8.29",
55
+ "uglifyjs-webpack-plugin": "^1.1.6",
56
+ "webpack": "^3.10.0"
57
+ },
58
+ "peerDependencies": {
59
+ "chokidar": "^3.3.0"
60
+ },
61
+ "peerDependenciesMeta": {
62
+ "chokidar": {
63
+ "optional": true
64
+ }
65
+ },
66
+ "_moduleAliases": {
67
+ "babel-register": "@babel/register"
68
+ },
69
+ "engines": {
70
+ "node": ">= 6.9.0"
71
+ },
72
+ "scripts": {
73
+ "build:transpile": "babel nunjucks --out-dir .",
74
+ "build:bundle": "node scripts/bundle.js",
75
+ "build": "npm run build:transpile && npm run build:bundle",
76
+ "codecov": "codecov",
77
+ "mocha": "mocha -R spec tests",
78
+ "lint": "eslint nunjucks scripts tests",
79
+ "prepare": "npm run build",
80
+ "test:instrument": "cross-env NODE_ENV=test scripts/bundle.js",
81
+ "test:runner": "cross-env NODE_ENV=test NODE_PATH=tests/test-node-pkgs scripts/testrunner.js",
82
+ "test": "npm run lint && npm run test:instrument && npm run test:runner"
83
+ },
84
+ "bin": {
85
+ "nunjucks-precompile": "./bin/precompile"
86
+ },
87
+ "main": "index.js",
88
+ "files": [
89
+ "bin/**",
90
+ "browser/**",
91
+ "src/**"
92
+ ],
93
+ "nyc": {
94
+ "require": [
95
+ "babel-register"
96
+ ],
97
+ "sourceMap": false,
98
+ "instrument": false
99
+ },
100
+ "repository": {
101
+ "type": "git",
102
+ "url": "https://github.com/mozilla/nunjucks.git"
103
+ },
104
+ "keywords": [
105
+ "template",
106
+ "templating"
107
+ ],
108
+ "license": "BSD-2-Clause",
109
+ "bugs": {
110
+ "url": "https://github.com/mozilla/nunjucks/issues"
111
+ }
112
+ }
@@ -29,6 +29,7 @@
29
29
  "@testing-library/user-event": "^13.5.0",
30
30
  "clipboard": "^2.0.11",
31
31
  "formik": "^2.4.2",
32
+ "nunjucks": "^3.2.4",
32
33
  "prop-types": "^15.8.1",
33
34
  "react": "^18.2.0",
34
35
  "react-cookie": "^6.1.1",
@@ -5799,6 +5800,11 @@
5799
5800
  "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
5800
5801
  "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
5801
5802
  },
5803
+ "node_modules/a-sync-waterfall": {
5804
+ "version": "1.0.1",
5805
+ "resolved": "https://registry.npmmirror.com/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz",
5806
+ "integrity": "sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA=="
5807
+ },
5802
5808
  "node_modules/abab": {
5803
5809
  "version": "2.0.6",
5804
5810
  "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
@@ -13750,6 +13756,38 @@
13750
13756
  "url": "https://github.com/fb55/nth-check?sponsor=1"
13751
13757
  }
13752
13758
  },
13759
+ "node_modules/nunjucks": {
13760
+ "version": "3.2.4",
13761
+ "resolved": "https://registry.npmmirror.com/nunjucks/-/nunjucks-3.2.4.tgz",
13762
+ "integrity": "sha512-26XRV6BhkgK0VOxfbU5cQI+ICFUtMLixv1noZn1tGU38kQH5A5nmmbk/O45xdyBhD1esk47nKrY0mvQpZIhRjQ==",
13763
+ "dependencies": {
13764
+ "a-sync-waterfall": "^1.0.0",
13765
+ "asap": "^2.0.3",
13766
+ "commander": "^5.1.0"
13767
+ },
13768
+ "bin": {
13769
+ "nunjucks-precompile": "bin/precompile"
13770
+ },
13771
+ "engines": {
13772
+ "node": ">= 6.9.0"
13773
+ },
13774
+ "peerDependencies": {
13775
+ "chokidar": "^3.3.0"
13776
+ },
13777
+ "peerDependenciesMeta": {
13778
+ "chokidar": {
13779
+ "optional": true
13780
+ }
13781
+ }
13782
+ },
13783
+ "node_modules/nunjucks/node_modules/commander": {
13784
+ "version": "5.1.0",
13785
+ "resolved": "https://registry.npmmirror.com/commander/-/commander-5.1.0.tgz",
13786
+ "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==",
13787
+ "engines": {
13788
+ "node": ">= 6"
13789
+ }
13790
+ },
13753
13791
  "node_modules/nwsapi": {
13754
13792
  "version": "2.2.7",
13755
13793
  "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz",
@@ -25,6 +25,7 @@
25
25
  "@testing-library/user-event": "^13.5.0",
26
26
  "clipboard": "^2.0.11",
27
27
  "formik": "^2.4.2",
28
+ "nunjucks": "^3.2.4",
28
29
  "prop-types": "^15.8.1",
29
30
  "react": "^18.2.0",
30
31
  "react-cookie": "^6.1.1",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xinference
3
- Version: 0.14.4.post1
3
+ Version: 0.15.1
4
4
  Summary: Model Serving Made Easy
5
5
  Home-page: https://github.com/xorbitsai/inference
6
6
  Author: Qin Xuye
@@ -21,8 +21,7 @@ Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
22
  Requires-Dist: xoscar>=0.3.0
23
23
  Requires-Dist: torch
24
- Requires-Dist: gradio==4.26.0
25
- Requires-Dist: typer[all]<0.12.0
24
+ Requires-Dist: gradio
26
25
  Requires-Dist: pillow
27
26
  Requires-Dist: click
28
27
  Requires-Dist: tqdm>=4.27
@@ -35,11 +34,11 @@ Requires-Dist: huggingface-hub>=0.19.4
35
34
  Requires-Dist: typing-extensions
36
35
  Requires-Dist: modelscope>=1.10.0
37
36
  Requires-Dist: sse-starlette>=1.6.5
38
- Requires-Dist: openai<1.40,>1
37
+ Requires-Dist: openai>1
39
38
  Requires-Dist: python-jose[cryptography]
40
39
  Requires-Dist: passlib[bcrypt]
41
40
  Requires-Dist: aioprometheus[starlette]>=23.12.0
42
- Requires-Dist: pynvml
41
+ Requires-Dist: nvidia-ml-py
43
42
  Requires-Dist: async-timeout
44
43
  Requires-Dist: peft
45
44
  Requires-Dist: timm
@@ -81,7 +80,6 @@ Requires-Dist: gdown; extra == "all"
81
80
  Requires-Dist: pyarrow; extra == "all"
82
81
  Requires-Dist: HyperPyYAML; extra == "all"
83
82
  Requires-Dist: onnxruntime==1.16.0; extra == "all"
84
- Requires-Dist: openai-whisper; extra == "all"
85
83
  Requires-Dist: boto3<1.28.65,>=1.28.55; extra == "all"
86
84
  Requires-Dist: tensorizer~=2.9.0; extra == "all"
87
85
  Requires-Dist: eva-decord; extra == "all"
@@ -89,6 +87,10 @@ Requires-Dist: jj-pytorchvideo; extra == "all"
89
87
  Requires-Dist: loguru; extra == "all"
90
88
  Requires-Dist: natsort; extra == "all"
91
89
  Requires-Dist: loralib; extra == "all"
90
+ Requires-Dist: ormsgpack; extra == "all"
91
+ Requires-Dist: qwen-vl-utils; extra == "all"
92
+ Requires-Dist: datamodel-code-generator; extra == "all"
93
+ Requires-Dist: jsonschema; extra == "all"
92
94
  Requires-Dist: auto-gptq; sys_platform != "darwin" and extra == "all"
93
95
  Requires-Dist: autoawq<0.2.6; sys_platform != "darwin" and extra == "all"
94
96
  Requires-Dist: mlx-lm; (sys_platform == "darwin" and platform_machine == "arm64") and extra == "all"
@@ -103,6 +105,7 @@ Requires-Dist: librosa; extra == "audio"
103
105
  Requires-Dist: xxhash; extra == "audio"
104
106
  Requires-Dist: torchaudio; extra == "audio"
105
107
  Requires-Dist: ChatTTS>0.1; extra == "audio"
108
+ Requires-Dist: tiktoken; extra == "audio"
106
109
  Requires-Dist: torch>=2.0.0; extra == "audio"
107
110
  Requires-Dist: lightning>=2.0.0; extra == "audio"
108
111
  Requires-Dist: hydra-core>=1.3.2; extra == "audio"
@@ -113,10 +116,10 @@ Requires-Dist: gdown; extra == "audio"
113
116
  Requires-Dist: pyarrow; extra == "audio"
114
117
  Requires-Dist: HyperPyYAML; extra == "audio"
115
118
  Requires-Dist: onnxruntime==1.16.0; extra == "audio"
116
- Requires-Dist: openai-whisper; extra == "audio"
117
119
  Requires-Dist: loguru; extra == "audio"
118
120
  Requires-Dist: natsort; extra == "audio"
119
121
  Requires-Dist: loralib; extra == "audio"
122
+ Requires-Dist: ormsgpack; extra == "audio"
120
123
  Provides-Extra: benchmark
121
124
  Requires-Dist: psutil; extra == "benchmark"
122
125
  Provides-Extra: dev
@@ -134,7 +137,7 @@ Requires-Dist: sphinx-intl>=0.9.9; extra == "dev"
134
137
  Requires-Dist: jieba>=0.42.0; extra == "dev"
135
138
  Requires-Dist: flake8>=3.8.0; extra == "dev"
136
139
  Requires-Dist: black; extra == "dev"
137
- Requires-Dist: openai<1.40,>1; extra == "dev"
140
+ Requires-Dist: openai>1; extra == "dev"
138
141
  Requires-Dist: langchain; extra == "dev"
139
142
  Requires-Dist: langchain-community; extra == "dev"
140
143
  Requires-Dist: orjson; extra == "dev"
@@ -184,6 +187,9 @@ Requires-Dist: torchvision; extra == "transformers"
184
187
  Requires-Dist: peft; extra == "transformers"
185
188
  Requires-Dist: eva-decord; extra == "transformers"
186
189
  Requires-Dist: jj-pytorchvideo; extra == "transformers"
190
+ Requires-Dist: qwen-vl-utils; extra == "transformers"
191
+ Requires-Dist: datamodel-code-generator; extra == "transformers"
192
+ Requires-Dist: jsonschema; extra == "transformers"
187
193
  Requires-Dist: auto-gptq; sys_platform != "darwin" and extra == "transformers"
188
194
  Requires-Dist: autoawq<0.2.6; sys_platform != "darwin" and extra == "transformers"
189
195
  Provides-Extra: video
@@ -228,14 +234,14 @@ potential of cutting-edge AI models.
228
234
  - Support speech recognition model: [#929](https://github.com/xorbitsai/inference/pull/929)
229
235
  - Metrics support: [#906](https://github.com/xorbitsai/inference/pull/906)
230
236
  ### New Models
237
+ - Built-in support for [Qwen2-vl-instruct](https://github.com/QwenLM/Qwen2-VL): [#2205](https://github.com/xorbitsai/inference/pull/2205)
238
+ - Built-in support for [MiniCPM3-4B](https://huggingface.co/openbmb/MiniCPM3-4B): [#2263](https://github.com/xorbitsai/inference/pull/2263)
231
239
  - Built-in support for [CogVideoX](https://github.com/THUDM/CogVideo): [#2049](https://github.com/xorbitsai/inference/pull/2049)
232
240
  - Built-in support for [flux.1-schnell & flux.1-dev](https://www.basedlabs.ai/tools/flux1): [#2007](https://github.com/xorbitsai/inference/pull/2007)
233
241
  - Built-in support for [MiniCPM-V 2.6](https://github.com/OpenBMB/MiniCPM-V): [#2031](https://github.com/xorbitsai/inference/pull/2031)
234
242
  - Built-in support for [Kolors](https://huggingface.co/Kwai-Kolors/Kolors): [#2028](https://github.com/xorbitsai/inference/pull/2028)
235
243
  - Built-in support for [SenseVoice](https://github.com/FunAudioLLM/SenseVoice): [#2008](https://github.com/xorbitsai/inference/pull/2008)
236
244
  - Built-in support for [Mistral Large 2](https://mistral.ai/news/mistral-large-2407/): [#1944](https://github.com/xorbitsai/inference/pull/1944)
237
- - Built-in support for [llama3.1](https://ai.meta.com/blog/meta-llama-3-1/): [#1932](https://github.com/xorbitsai/inference/pull/1932)
238
- - Built-in support for [Mistral Nemo](https://mistral.ai/news/mistral-nemo/): [#1936](https://github.com/xorbitsai/inference/pull/1936)
239
245
  ### Integrations
240
246
  - [Dify](https://docs.dify.ai/advanced/model-configuration/xinference): an LLMOps platform that enables developers (and even non-developers) to quickly build useful applications based on large language models, ensuring they are visual, operable, and improvable.
241
247
  - [FastGPT](https://github.com/labring/FastGPT): a knowledge-based platform built on the LLM, offers out-of-the-box data processing and model invocation capabilities, allows for workflow orchestration through Flow visualization.