yangzhch6

Results issues of yangzhch6

In vllm, they provide "n" to create multiple responses, but I cannot find similar param in mii. Currently, I can only copy the input text multiple times, and then feed...

# ❓ Questions & Help I wrote a new class based on RoBerta Model(pytorch) ## Details The code is shown below ``` import torch import numpy as np import logging...

wontfix
PyTorch
Core: Modeling

I noticed that, when conducting GRPO, the entropy coeff is set as default (0.001). But actually, the original loss of GRPO do not calculate entropy loos. Is that a tiny...

设置use_remove_padding=True/False, 导致LLM计算logits结果不一致,具体问题描述如下 **I think this is caused by the minor calculation error of flash attention, but it is not clear how this minor error affects the performance.** I find the...

swift 的 vllm_engine 推理,query 数据 长这样: ``` {'query': query} ``` openai api格式数据 (有system): ``` { "role": "system", "content": "You are a mathematical assistant. Please answer the following mathematical question." },...

instruct 模型推理接口为OpenAI这种: ``` { "role": "system", "content": "You are a mathematical assistant. Please answer the following question." }, { "role": "user", "content": "......." } ``` 但是base model在部署后,接口是什么呢?我暂时没有在文档里找到

## **Describe the bug** 同参数情况下微调,单卡正常运行,多卡OOM。 单卡微调sh: ``` CUDA_VISIBLE_DEVICES=0 swift sft \     --dtype bf16 \     --template_type AUTO \     --model_type llama3-8b-instruct \     --model_id_or_path /... \     --dataset /... \     --val_dataset /... \     --output_dir...

vllm多卡部署有两个选项: * --tensor_parallel_size // 模型切分部署到同节点不同卡 * --pipeline_parallel_size // 模型流水线部署 swift可否整合pipeline_parallel_size? 如果可以,那将十分方便

![1730358060729](https://github.com/user-attachments/assets/da7545a6-2f12-4341-9384-4b3b47ac1369) 在你们的QA中指出了会自动shuffle,请问我该如何设置参数,让它不自动shuffle呢?

**Describe the bug** base model部署发生“Internal Error” 直接运行:https://github.com/modelscope/ms-swift/blob/main/examples/deploy/client/llm/base/openai_client.py **Additional context** 报错信息: ``` INFO: 127.0.0.1:37322 - "POST /v1/completions HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call...