OpenBMB / BMTrain

Efficient Training (including pre-training and fine-tuning) for Big Models
Apache License 2.0
548 stars 74 forks source link

[BUILD ERROR] <title>lining failed in call to always_inline '__mm512_xxx_xxx' xxxxxxxxx #197

Closed lk137095576 closed 3 months ago

lk137095576 commented 4 months ago

Is there an existing issue for this?

Description of the Build Error

build from source ERROR pipe branch may error while build bind.cpp/adam_cpu.hpp my cpu: AMD EPYC 7742 64-Core Processor

Expected Behavior


To Reproduce


Environment Information

- Operating System version:20.04
- GCC version:9
- Pybind version:11
- CUDA version:11.8
- NVIDIA NCCL CU11 version:
- CMake version:3.16.3
- Pip version:22.3.1

Installation Method

Source Code Installation

Full Error Traceback

not available

Additional Information

No response

Confirmation

MayDomine commented 4 months ago

Check if your cpu can support AVX512. If not , try export BUILD_DOCKER_ENV = 1 and it will let compiler add avx512 flag instead of using native option.