AMD wheels for Windows built against ROCm 7.2, but Windows HIP SDK installer only goes to 7.1.1

未关闭
#2,016 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
cpp, python

调研方向

首先检查 CTranslate2 ROCm Windows wheel 的构建和打包配置,然后将其对 HIP BLAS DLL 的预期与 issue 中描述的 HIP SDK 7.1.1 安装程序进行比较。当 Windows ROCm wheel 能够使用最新支持的 HIP SDK 成功加载,并且由报告中提到的捆绑可执行文件使用时不会崩溃,即表示完成。

由索引模型根据 Issue 内容生成。

描述

I have a speech to text project built on faster-whisper/CT2. With the recent ROCm support release, I added AMD GPU support to my project.

My project has a pre-built windows exe via pyinstaller, so I made a new version that bundles the CTranslate2 ROCm Windows wheel. But the problem is that the wheel is built against ROCm 7.2 and the latest HIP SDK Installer for Windows only goes up to 7.1.1

I thought they might be compatible anyways, but it turns out that libhipblas.dll in 7.1.1 changed to hipblas.dll in 7.2, causing a crash when CT2 loads. I personally run a custom version of CT2 built to work with an older GPU, and for that ROCm version (6.2) the file is also named hipblas.dll

Would be great to have the window wheels be compatible with the latest HIP installer, since that allows my users to only use windows installers without dealing with python/pip/etc

主要语言
C++
星标
4.8k
派生
557
平均合并
1 天 6 小时
30 天内合并 PR
24

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenNMT/CTranslate2 的其他 Issue

查看 OpenNMT/CTranslate2 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。