8000 redefinition error when build PyTorch release/2.7 from source with oneapi in conda env and then activate oneapi on Windows · Issue #1503 · intel/torch-xpu-ops · GitHub
[go: up one dir, main page]

Skip to content 10000
redefinition error when build PyTorch release/2.7 from source with oneapi in conda env and then activate oneapi on Windows #1503
@ZhaoqiongZ

Description

@ZhaoqiongZ

🐛 Describe the bug

Image
this is the conda list of the conda env which contains intel-sycl-rt etc
with this env, if we build from source and activate oneapi with

call "C:\Program Files (x86)\Intel\oneAPI\compiler\latest\env\vars.bat"
call "C:\Program Files (x86)\Intel\oneAPI\ocloc\latest\env\vars.bat"

the compilation will trigger redefinition error

Versions

pytorch release/2.7

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0