open-compass / open-compass/opencompass

[Bug] 使用max-num-worker使得ssh断连

Open
#1,887 3 comments 0 reactions 1 assignee View on GitHub

@tonysy is already working on this.

Since Feb 23, 2025.

Dominant language
Python
Stars
7.5k
Forks
869
Avg merge
17h 52m
Merged PRs (30d)
13

Description

Prerequisite
Type

I'm evaluating with the officially supported tasks/models/datasets.

Environment

我需要并行评测的我的模型,因为评估单个example的时间太长,所以我参考了 #1755 中的代码,使用CUDA_VISIBLE_DEVICES=6,7 opencompass --models vllm_qwen2_5_0_5b_instruct --datasets triviaqa_gen -a vllm --max-num-worker 2这种方式进行并行。然而每次当我启动此代码时,这将导致我的ssh直接断连,并返回报错shell request failed on channel 0,感觉该问题与opencompass的code有关。

Reproduces the problem - code/configuration sample

CUDA_VISIBLE_DEVICES=6,7 opencompass --models vllm_qwen2_5_0_5b_instruct --datasets triviaqa_gen -a vllm --max-num-worker 2

Reproduces the problem - command or script

CUDA_VISIBLE_DEVICES=6,7 opencompass --models vllm_qwen2_5_0_5b_instruct --datasets triviaqa_gen -a vllm --max-num-worker 2

Reproduces the problem - error message

shell request failed on channel 0

Other information

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.