runsheng

Results comments of runsheng

This might because the nvcc version does not match with your pytorch+cuda version. For example, if your `torch.__version__` is `'1.13.1+cu117'`, then your `nvcc -V` should be like `... Cuda compilation...

`llm = {'model_type': 'transformers', 'model': 'Qwen/Qwen3-VL-8B-Instruct', 'api_key': 'EMPTY', 'device': 'cuda', 'generate_cfg': {"top_p": 0.8, "top_k": 20, "temperature": 0.7, "repetition_penalty": 1.0}}` 我是这样加载的,可以运行

Adding `self.loss_cls = nn.CrossEntropyLoss(reduction='none')` at https://github.com/open-mmlab/mmdetection/blob/main/mmdet/models/dense_heads/ssd_head.py line 108 solved the problem. For reference.

https://github.com/onlylrs/Modern-Vit-Adapter/releases/tag/v1.1.0 在这里把MaskDINO适配进了mmdet,实测可以正常跑通,希望能够帮到

I opensourced a repo that modernizes ViT-Adapter to PyTorch2.9.1, with CUDA12.8, python 3.12 [here](https://github.com/onlylrs/Modern-Vit-Adapter). Hope it helps:)