You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your hardware and system info
Write your system info like CUDA version/system/GPU/torch version here(在这里给出硬件信息和系统信息,如CUDA版本,系统,GPU型号和torch版本等)
ms_swift 3.5.0.dev0 /save/ms-swift
vllm 0.8.4
trl 0.17.0
transformers 4.51.3
torch 2.6.0
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Sep__8_19:17:24_PDT_2023
Cuda compilation tools, release 12.3, V12.3.52
Build cuda_12.3.r12.3/compiler.33281558_0
Additional context
Add any other context about the problem here(在这里补充其他信息)
数据格式:
{
"id": "s58971208",
"messages": [
{
"role": "user",
"content": "<image>"
},
{
"role": "assistant",
"content": "<findings>The ET tube terminates approximately 2.9 cm from the carina. The NG tube courses below the diaphragm with the tip out of the field of view of the film. There has been interval worsening of the right linear opacification likely secondary to atelectasis. No pneumothorax or definite pleural effusion is seen. The hilar and mediastinal contours are normal. There is mild cardiomegaly, stable compared to the preior exam.</findings>\n\n<impression>Slight interval worsening of right lower lung atelectasis.</impression>"
}
],
"images": "/save/datasets/LLaVA-Pretrain/cxr_224/1a1fe7e3-cbac5d93-b339aeda-86bb86b5-4f31e82e.jpg",
"solution": "<findings>The ET tube terminates approximately 2.9 cm from the carina. The NG tube courses below the diaphragm with the tip out of the field of view of the film. There has been interval worsening of the right linear opacification likely secondary to atelectasis. No pneumothorax or definite pleural effusion is seen. The hilar and mediastinal contours are normal. There is mild cardiomegaly, stable compared to the preior exam.</findings>\n\n<impression>Slight interval worsening of right lower lung atelectasis.</impression>"
}
The text was updated successfully, but these errors were encountered:
def _process_infer_requests_images(self, infer_requests: List[InferRequest]):
import base64
from PIL import Image
import os
if not any('images' in request for request in infer_requests):
return
for request in infer_requests:
if 'images' not in request:
continue
for i, img in enumerate(request['images']):
# If bytes is available, use it
if 'bytes' in img and img['bytes']:
request['images'][i] = base64.b64encode(img['bytes']).decode('utf-8')
# If bytes is null but path is available, load from path
elif 'path' in img and img['path'] and os.path.exists(img['path']):
with open(img['path'], 'rb') as image_file:
image_bytes = image_file.read()
request['images'][i] = base64.b64encode(image_bytes).decode('utf-8')
return
Describe the bug
用vllm_server_host grpo训练qwen-2.5-VL-3B报错:
vllm启动命令:
训练启动脚本:
Your hardware and system info
Write your system info like CUDA version/system/GPU/torch version here(在这里给出硬件信息和系统信息,如CUDA版本,系统,GPU型号和torch版本等)
Additional context
Add any other context about the problem here(在这里补充其他信息)
数据格式:
The text was updated successfully, but these errors were encountered: