We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我的测试脚本:
NPROC_PER_NODE=8 \ ASCEND_RT_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \ HCCL_SOME_VARIABLE=value swift infer \ --model_type '/data2/dxc/Qwen1.5-32B-Chat' \ --load_args_from_ckpt_dir true \ --ckpt_dir '/data2/dxc/Qwen1.5-32B-Chat/v17-20240920-141406/checkpoint-6/' \ --load_dataset_config true \ --tensor_parallel_size 8 \ --merge_lora false \ --model_kwargs '{"device_map": ["npu:0", "npu:1", "npu:2", "npu:3", "npu:4", "npu:5", "npu:6", "npu:7"]}' \ --dataset '/data2/dxc/blossom-math-v2/transformed_dataset.jsonl#100'
运行之后显示device_count:8, 但是model_kwargs: {'device_map': 'npu:0'}
device_count:8
model_kwargs: {'device_map': 'npu:0'}
没找到Swift infer和Swift deploy中有关NPU的多显卡设置参数
Swift infer
Swift deploy
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的测试脚本:
运行之后显示
device_count:8
, 但是model_kwargs: {'device_map': 'npu:0'}
没找到
Swift infer
和Swift deploy
中有关NPU的多显卡设置参数The text was updated successfully, but these errors were encountered: