Skip to content

allow disable cpu flags #782

Open
Open
@Chizkiyahu

Description

@Chizkiyahu

Tell us about your request

docker run --cpu-flags or docker run --cpu-disable-flags
allow to disable cpu flags

Which service(s) is this request for?

docker run

Why Is Needed

Macbook pro max m1 - inside of docker

lscpu | grep Flags
Flags:                                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint

Macbook pro max m1 - inside of docker

lscpu |  grep Flags
Flags:                                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 flagm2 frint svei8mm svebf16 bf16 afp sme

Compare table

Flag M4 M1
fp
asimd
evtstrm
aes
pmull
sha1
sha2
crc32
atomics
fphp
asimdhp
cpuid
asimdrdm
jscvt
fcma
lrcpc
dcpop
sha3
asimddp
sha512
asimdfhm
dit
uscat
ilrcpc
flagm
sb
paca
pacg
dcpodp
sve2
flagm2
frint
svei8mm
svebf16
bf16
afp
sme

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

Are you currently working around the issue?

I am trying to solve this in the os level or the tensorflow level but without success for now

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

community_newNew idea raised by a community contributor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions