Giter Site home page Giter Site logo

Comments (11)

YYLCyylc avatar YYLCyylc commented on September 24, 2024 1

默认的max_model_len是4096,启动的时候加个参数--max_model_len 32000就行了

from inference.

YYLCyylc avatar YYLCyylc commented on September 24, 2024 1

我现在是0.9.0

参数传递好像是0.9.1加的
#1048

from inference.

Valdanitooooo avatar Valdanitooooo commented on September 24, 2024 1

Same here, 在web中启动时加个参数可以解决
image

from inference.

ybsbbw avatar ybsbbw commented on September 24, 2024

默认的max_model_len是4096,启动的时候加个参数--max_model_len 32000就行了
我shell下输入命令xinference launch -u Qwen1.5-72B-chat -n Qwen1.5-72B-chat -s 72 -f pytorch --max_model_len 32000,
结果反馈没有--max_model_len这个option

from inference.

ybsbbw avatar ybsbbw commented on September 24, 2024

另外按照官网的python启动方式启动的时候,输入命令:
from xinference.client import RESTfulClient
client = RESTfulClient("http://127.0.0.1:9997")
model_uid = client.launch_model(
model_uid="my-llama-2",
model_name="llama-2-chat",
model_format="pytorch",
size_in_billions=13
)
print('Model uid: ' + model_uid)
提示没有size_in_billions这个参数

from inference.

YYLCyylc avatar YYLCyylc commented on September 24, 2024

默认的max_model_len是4096,启动的时候加个参数--max_model_len 32000就行了
我shell下输入命令xinference launch -u Qwen1.5-72B-chat -n Qwen1.5-72B-chat -s 72 -f pytorch --max_model_len 32000,
结果反馈没有--max_model_len这个option

更新下xinference的版本试试?
image
现在应该是model_size_in_billions这个参数
image

from inference.

ybsbbw avatar ybsbbw commented on September 24, 2024

我现在是0.9.0

from inference.

ybsbbw avatar ybsbbw commented on September 24, 2024

我现在是0.9.0

参数传递好像是0.9.1加的 #1048

简直了

from inference.

Air-duct avatar Air-duct commented on September 24, 2024

docker 启动的怎么传递这个参数呢?

from inference.

github-actions avatar github-actions commented on September 24, 2024

This issue is stale because it has been open for 7 days with no activity.

from inference.

github-actions avatar github-actions commented on September 24, 2024

This issue was closed because it has been inactive for 5 days since being marked as stale.

from inference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.