Skip to content

Commit

Permalink
add spawn env (#256)
Browse files Browse the repository at this point in the history
* add spawn env

* update readme
  • Loading branch information
Yunnglin authored Dec 19, 2024
1 parent a16cc7b commit 70d2fbb
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Please scan the QR code below to join our community groups:

[Discord Group](https://discord.com/invite/D27yfEFVz5) | WeChat Group | DingTalk Group
:-------------------------:|:-------------------------:|:-------------------------:
<img src="https://sail-moe.oss-cn-hangzhou.aliyuncs.com/modelscope/user_group/discord_qr.jpg" width="160" height="160"> | <img src="https://sail-moe.oss-cn-hangzhou.aliyuncs.com/modelscope/user_group/wechat.png" width="160" height="160"> | <img src="https://sail-moe.oss-cn-hangzhou.aliyuncs.com/modelscope/user_group/dingding.png" width="160" height="160">
<img src="docs/asset/discord_qr.jpg" width="160" height="160"> | <img src="docs/asset/wechat.png" width="160" height="160"> | <img src="docs/asset/dingding.png" width="160" height="160">


## 🎉 News
Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ EvalScope还适用于多种评测场景,如端到端RAG评测、竞技场模

[Discord Group](https://discord.com/invite/D27yfEFVz5) | 微信群 | 钉钉群
:-------------------------:|:-------------------------:|:-------------------------:
<img src="https://sail-moe.oss-cn-hangzhou.aliyuncs.com/modelscope/user_group/discord_qr.jpg" width="160" height="160"> | <img src="https://sail-moe.oss-cn-hangzhou.aliyuncs.com/modelscope/user_group/wechat.png" width="160" height="160"> | <img src="https://sail-moe.oss-cn-hangzhou.aliyuncs.com/modelscope/user_group/dingding.png" width="160" height="160">
<img src="docs/asset/discord_qr.jpg" width="160" height="160"> | <img src="docs/asset/wechat.png" width="160" height="160"> | <img src="docs/asset/dingding.png" width="160" height="160">


## 🎉 新闻
Expand Down
Binary file added docs/asset/dingding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/asset/discord_qr.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/asset/wechat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions evalscope/perf/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def from_args(args):
model=args.model,
attn_implementation=args.attn_implementation,
url=args.url,
port=args.port,
api_key=args.api_key,
connect_timeout=args.connect_timeout,
read_timeout=args.read_timeout,
Expand Down
1 change: 1 addition & 0 deletions evalscope/perf/utils/local_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def start_app(args: Arguments):
elif args.api == 'local_vllm':
os.environ['VLLM_USE_MODELSCOPE'] = 'True'
os.environ['VLLM_ALLOW_LONG_MAX_MODEL_LEN'] = '1'
os.environ['VLLM_WORKER_MULTIPROC_METHOD'] = 'spawn'
# yapf: disable
proc = subprocess.Popen([
'python', '-m', 'vllm.entrypoints.openai.api_server',
Expand Down

0 comments on commit 70d2fbb

Please sign in to comment.