Giter VIP home page Giter VIP logo

Comments (6)

mizar avatar mizar commented on July 29, 2024 2

../build/linux/NNUE/YaneuraOu_NNUE-linux-clang++-normal-AVX512

Why AVX512? Why not AVX2?

from yaneuraou.

yaneurao avatar yaneurao commented on July 29, 2024 1

../script/build.sh -a AVX2 -c clang++ -e MATE_ENGINE -t normal

In the latest version of YaneuraOu, use either TANUKI_MATE_ENGINE or YANEURAOU_MATE_ENGINE to build the Mate Engine; specifying MATE_ENGINE is for older versions. Please try the latest version.

Furthermore, I think bench command is not supported by the Mate Engines.

from yaneuraou.

ddugovic avatar ddugovic commented on July 29, 2024 1

Thanks for that advice. Sorry, I got very confused trying to reproduce errors observed by other developers. I think what they are trying is something like:

#!/bin/bash
../script/build.sh -a AVX2 -c clang++ -e YANEURAOU_ENGINE_NNUE -t normal && \
../build/linux/NNUE/YaneuraOu_NNUE-linux-clang++-normal-AVX512 bench 16 1 5 test.sfen depth
$ ./build.sh
...
./build.sh: line 3: 83466 Illegal instruction     (core dumped) ../build/linux/NNUE/YaneuraOu_NNUE-linux-clang++-normal-AVX512 bench 16 1 5 test.sfen depth

from yaneuraou.

mizar avatar mizar commented on July 29, 2024 1

Make sure that the binary you build and the binary you launch are the same file. Why are you trying to launch the AVX512 version when you built the AVX2 version?

grep flags /proc/cpuinfo | uniq

In addition, check your CPU environment, because it seems that running the AVX512 version will not work without at least avx512f or avx512bw. Maybe other flags are also needed to run, though.

example 1:

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves flush_l1d arch_capabilities

example 2:

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 pku ospke avx512_vnni md_clear arch_capabilities

from yaneuraou.

mizar avatar mizar commented on July 29, 2024

lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1R5R1/LNSGKGSNL b - 1

Why do you need three rooks on the board?
A board with three rooks is illegal. Normally there are two.

from yaneuraou.

ddugovic avatar ddugovic commented on July 29, 2024

Good question. @WandererXII advises that for Lishogi this will not be required after all.

from yaneuraou.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.