Skip to content

Conversation

@RezaYazdaniAminabadi
Copy link
Contributor

It seems like adding empty string in the CPU-ADAM op_builder make gcc crash with this error: "gcc: error: : No such file or directory". I did a simple modification and returned -D__SCALAR__ instead of empty string. This won't make any difference in the cpp code since we already have conditions for both AVX2 and AVX512.
This fixes this issue.

@RezaYazdaniAminabadi RezaYazdaniAminabadi merged commit 490e6f7 into master Feb 26, 2021
@mrwyattii mrwyattii deleted the cpu-adam/fix-amd-compile branch July 7, 2023 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does AMD CPU support cpu_adam? DS_BUILD_CPU_ADAM=1 causes compilation error

3 participants