deepmodeling / deepmodeling/deepmd-kit

[BUG] Installation error : nvcc fatal : Unsupported gpu architecture 'compute_50'

Open
#5,435 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2k
Forks
649
Avg merge
6d 18h
Merged PRs (30d)
15

Description

### Bug summary

[Installation from source following documentation](https://docs.deepmodeling.com/projects/deepmd/en/stable/install/install-from-source.html)

Failling step : 2.2.1.2. Install the DeePMD-kit’s python interface

Command : "pip install ."

*** Building project with Ninja...
[1/19] Building CUDA object lib/src/gpu/CMakeFiles/deepmd_op_cuda.dir/coord.cu.o
FAILED: [code=1] lib/src/gpu/CMakeFiles/deepmd_op_cuda.dir/coord.cu.o
/gnu/store/i3z3lxkyvakyq3cf3bj72if8fqbx77g8-profile/bin/nvcc ...
-c '/scratch/.../LAMMPS/guix _lammps_22Jul2025_avec_gpu/DeepMD/deepmd-kit/source/lib/src/gpu/coord.cu' -o lib/src/gpu/CMakeFiles/deepmd_op_cuda.dir/coord.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_50'

### DeePMD-kit Version

git tag > v3.1.3

### Backend and its version

n/a

### How did you download the software?

Built from source

### Input Files, Running Commands, Error Log, etc.

see log file :
[deepmd_error.txt](https://github.com/user-attachments/files/27480301/deepmd_error.txt)

### Steps to Reproduce

error during installation from source files. see log file above.

### Further Information, Files, and Links

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.