Skip to content

pytorch flags override CUDA_ARCHITECTURES #2776

Description

@njzjz

Describe the bug

pytorch flags override CUDA_ARCHITECTURES, making the build fail.

Expected behavior

CUDA_ARCHITECTURES set by cmake should not be overridden, as abacus has specific arch requirements.

To Reproduce

See https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=754750&view=logs&j=517fe804-fa30-5dc2-1413-330699242c05&t=c7d0fcb4-3a10-5b26-dfea-e879a93fc2ab&l=283

-- Autodetected CUDA architecture(s): 3.5;5.0;8.0;8.6;8.6+PTX

Environment

See the log for details.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

BugsBugs that only solvable with sufficient knowledge of DFT

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions