OpenBMB / OpenBMB/CPM-Bee

CUDAt版本是12.1而不是11.8,如何解决?

Open
#35 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Environment
Dominant language
Python
Stars
2.4k
Forks
176
PR merge metrics
No merged PRs in 30d

Description

`
RuntimeError:
The detected CUDA version (12.1) mismatches the version that was used to compile
PyTorch (11.8). Please make sure to use the same CUDA versions.

我的电脑上的cuda版本 nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
`
这台电脑上还有其它项目,难道,要我为了这一个项目降版本么,
能否修懒得说那里让这个项目支持12可能性

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported mismatch with the documented PyTorch environment and nvcc -V, then inspect the project's dependency or installation instructions for the pinned CUDA 11.8 expectation. Done would mean either verified CUDA 12.1 support or clear, tested guidance for using the supported version; the issue has no file or test named.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.