Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CPUs that don't have the AVX instruction set #118

Open
adamsmith opened this issue Jan 20, 2019 · 131 comments
Open

Support CPUs that don't have the AVX instruction set #118

adamsmith opened this issue Jan 20, 2019 · 131 comments

Comments

@adamsmith
Copy link
Contributor

adamsmith commented Jan 20, 2019

This issue's URL is referenced in the message users see when they try to install Kite on a machine that doesn't support the AVX instruction set.

This can be a place for discussion and so folks can be notified (via Github) if we add support for these machines.

This is not prioritized, and will not be implemented in the near future. It's simply a way for us to measure demand.

@Shinyhero36
Copy link

I justgot this error how do i fix it please?

@sokacd
Copy link

sokacd commented Feb 6, 2019

I just too this problem, help, please!

@MIKEPY101
Copy link

Please let us know when you have a fix! Thanks.

@chip83
Copy link

chip83 commented Apr 4, 2019

Please add support for old CPU

@teenageknight
Copy link

also have this problem. Please notify when fixed

@aimlessadam
Copy link

not just old CPUs - 2018 Surface Go :(

@Kamriel
Copy link

Kamriel commented Apr 20, 2019

I have Xeon E5430 Workstation and cannot install kite. But successfully installed tensorflow
C:\Users\Sergey>pip freeze
absl-py==0.7.1
astor==0.7.1
beautifulsoup4==4.6.0
bs4==0.0.1
certifi==2018.4.16
chardet==3.0.4
et-xmlfile==1.0.1
gast==0.2.2
google-pasta==0.1.5
grpcio==1.20.0
h5py==2.9.0
idna==2.7
jdcal==1.4
Keras-Applications==1.0.7
Keras-Preprocessing==1.0.9
lxml==4.2.3
Markdown==3.1
numpy==1.14.5
openpyxl==2.5.5
pandas==0.23.1
Pillow==5.2.0
protobuf==3.7.1
python-dateutil==2.7.3
pytz==2018.5
requests==2.19.1
selenium==3.14.0
six==1.11.0
tb-nightly==1.14.0a20190301
tensorflow==2.0.0a0
termcolor==1.1.0
tf-estimator-nightly==1.14.0.dev2019030115
unicodecsv==0.14.1
urllib3==1.23
Werkzeug==0.15.2
win-unicode-console==0.5
xlrd==1.1.0
XlsxWriter==1.0.5
youtube-dl==2019.1.30.1

@HumbleSpirit
Copy link

Hello. Also have Xeon processor and cant install kite, tensorflow installed
ec2-user@VGJKUN3:~$ pip3 freeze
absl-py==0.7.1
astor==0.7.1
awscli==1.11.13
beautifulsoup4==4.4.1
blinker==1.3
botocore==1.4.70
chardet==2.3.0
cloud-init==18.2
colorama==0.3.7
command-not-found==0.3
configobj==5.0.6
cryptography==1.2.3
defer==1.0.6
docutils==0.12
gast==0.2.2
google-pasta==0.1.5
grpcio==1.20.0
h5py==2.9.0
html5lib==0.999
idna==2.0
Jinja2==2.8
jmespath==0.9.0
jsonpatch==1.10
jsonpointer==1.9
Keras-Applications==1.0.7
Keras-Preprocessing==1.0.9
language-selector==0.1
lxml==3.5.0
Markdown==3.1
MarkupSafe==0.23
numpy==1.16.2
oauthlib==1.0.3
Pillow==3.1.2
prettytable==0.7.2
protobuf==3.7.1
pyasn1==0.1.9
pycups==1.9.73
pycurl==7.43.0
Pygments==2.1
pygobject==3.20.0
PyJWT==1.3.0
pyserial==3.0.1
python-apt==1.1.0b1+ubuntu0.16.4.1
python-dateutil==2.4.2
python-debian==0.1.27
python-systemd==231
pyxdg==0.25
PyYAML==3.11
requests==2.9.1
roman==2.0.0
rsa==3.2.3
s3transfer==0.1.9
six==1.10.0
ssh-import-id==5.5
system-service==0.3
tb-nightly==1.14.0a20190301
tensorflow==2.0.0a0
termcolor==1.1.0
tf-estimator-nightly==1.14.0.dev2019030115
ufw==0.35
unattended-upgrades==0.1
urllib3==1.13.1
Werkzeug==0.15.2

@zvinga25j
Copy link

please help, my pc not supporte avx

@SatanicWaffle
Copy link

my pc don't support it, pls help

@alxfrnds
Copy link

same problem here

@arctic7fox
Copy link

waiting for support of old processors

@teenageknight
Copy link

where would I look to try and help add support?

@cceekkigg
Copy link

..same problem, need support

@HumbleSpirit
Copy link

I don't know, what you've done in code, by now I have working plugin :)

@mike-gallego
Copy link

How to fix? Works on my main laptop but not on my ASUS VivoBook L203MA, Intel Celeron N4000 Processor, 4GB RAM.

@morozkovv
Copy link

Hello! Help me! Don`t work on my laptop ACER TravelMate 5742ZG, Intel Pentium P6100 Processor (Intel64 Family 6 Model 37 Stepping 5 GenuineIntel ~1733 Mhz), NVidia GeForce GT 420M!

@SkylaDev
Copy link

I have a old laptop with a Intel Celeron N3050 Processor, weirdly I have tensorflow installed but it still comes up with that requirement problem error, Hope this gets fixed as I currently dont own a computer anymore and this laptop is what Im using as a replacement programming tool.

@Riyad-Almadani
Copy link

I also faced this issue, my laptop old DELL Intel core i5 4 RAM .... please fixe as ASAP

@kxjlib
Copy link

kxjlib commented Nov 20, 2019

Tensorflow and AVX is supported on the Pentium G4400, Whilst the error comes up.
$ pip freeze
absl-py==0.8.1
aiohttp==3.5.4
appdirs==1.4.3
astor==0.8.0
astroid==2.2.5
async-timeout==3.0.1
attrs==19.2.0
black==19.10b0
cffi==1.12.3
chardet==3.0.4
Click==7.0
cloudpickle==1.2.1
colorama==0.4.1
cycler==0.10.0
discord.py==1.2.3
Flask==1.1.1
future==0.17.1
gast==0.2.2
google-pasta==0.1.7
grpcio==1.24.1

opencv-python==4.1.1.26
opt-einsum==3.1.0
pathspec==0.6.0
pi==0.1.2
protobuf==3.10.0
tensorboard==2.0.0
tensorflow==2.0.0

@Aiden-yang
Copy link

Hello!The error message is "We use a library called Tensorflow which requires that your CPU support the AVX instruction set. This instruction set is supported on most, but not all, computers built after 2012." But my computer was made in 2016 and I don't know the CPU support it whether or not, that mean I need to change my computer to use it, right?

@marvingitau
Copy link

same issue

@dhanabal-s
Copy link

I am also facing the same issue please anyone tell how to fix it.

@endolith
Copy link

Yeah, my computer runs TensorFlow fine, but I'm still getting this message.

@Jose-Robles
Copy link

For those who have Windows and have the "AVX" message I solved this issue with this command in cmd:
bcdedit /set xsavedisable 0

Note: run it with admin permissions.

By the way I'm still having trouble with AVX2 because I dont find anything about this set of instructions...

@ObiomaKI
Copy link

I am not sure what this issue is all about as Kite is reporting that my CPU does not have AVX capability and that is not true. Here is the proof: As can be seen, my CPU does support AVX. So, what is the reason Kite could not install. I have also enabled xsavedisable using bcdedit command line

Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz
Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
Microcode signature: 00000002
HTT * Hyperthreading enabled
HYPERVISOR - Hypervisor is present
VMX * Supports Intel hardware-assisted virtualization
SVM - Supports AMD hardware-assisted virtualization
X64 * Supports 64-bit mode

SMX - Supports Intel trusted execution
SKINIT - Supports AMD SKINIT

NX * Supports no-execute page protection
SMEP - Supports Supervisor Mode Execution Prevention
SMAP - Supports Supervisor Mode Access Prevention
PAGE1GB - Supports 1 GB large pages
PAE * Supports > 32-bit physical addresses
PAT * Supports Page Attribute Table
PSE * Supports 4 MB pages
PSE36 * Supports > 32-bit address 4 MB pages
PGE * Supports global bit in page tables
SS * Supports bus snooping for cache operations
VME * Supports Virtual-8086 mode
RDWRFSGSBASE - Supports direct GS/FS base access

FPU * Implements i387 floating point instructions
MMX * Supports MMX instruction set
MMXEXT - Implements AMD MMX extensions
3DNOW - Supports 3DNow! instructions
3DNOWEXT - Supports 3DNow! extension instructions
SSE * Supports Streaming SIMD Extensions
SSE2 * Supports Streaming SIMD Extensions 2
SSE3 * Supports Streaming SIMD Extensions 3
SSSE3 * Supports Supplemental SIMD Extensions 3
SSE4a - Supports Streaming SIMDR Extensions 4a
SSE4.1 * Supports Streaming SIMD Extensions 4.1
SSE4.2 * Supports Streaming SIMD Extensions 4.2

AES - Supports AES extensions
AVX - Supports AVX intruction extensions
FMA - Supports FMA extensions using YMM state
MSR * Implements RDMSR/WRMSR instructions
MTRR * Supports Memory Type Range Registers
XSAVE - Supports XSAVE/XRSTOR instructions
OSXSAVE - Supports XSETBV/XGETBV instructions
RDRAND - Supports RDRAND instruction
RDSEED - Supports RDSEED instruction

CMOV * Supports CMOVcc instruction
CLFSH * Supports CLFLUSH instruction
CX8 * Supports compare and exchange 8-byte instructions
CX16 * Supports CMPXCHG16B instruction
BMI1 - Supports bit manipulation extensions 1
BMI2 - Supports bit manipulation extensions 2
ADX - Supports ADCX/ADOX instructions
DCA - Supports prefetch from memory-mapped device
F16C - Supports half-precision instruction
FXSR * Supports FXSAVE/FXSTOR instructions
FFXSR - Supports optimized FXSAVE/FSRSTOR instruction
MONITOR * Supports MONITOR and MWAIT instructions
MOVBE - Supports MOVBE instruction
ERMSB - Supports Enhanced REP MOVSB/STOSB
PCLMULDQ - Supports PCLMULDQ instruction
POPCNT * Supports POPCNT instruction
LZCNT - Supports LZCNT instruction
SEP * Supports fast system call instructions
LAHF-SAHF * Supports LAHF/SAHF instructions in 64-bit mode
HLE - Supports Hardware Lock Elision instructions
RTM - Supports Restricted Transactional Memory instructions

DE * Supports I/O breakpoints including CR4.DE
DTES64 * Can write history of 64-bit branch addresses
DS * Implements memory-resident debug buffer
DS-CPL * Supports Debug Store feature with CPL
PCID * Supports PCIDs and settable CR4.PCIDE
INVPCID - Supports INVPCID instruction
PDCM * Supports Performance Capabilities MSR
RDTSCP * Supports RDTSCP instruction
TSC * Supports RDTSC instruction
TSC-DEADLINE - Local APIC supports one-shot deadline timer
TSC-INVARIANT * TSC runs at constant rate
xTPR * Supports disabling task priority messages

EIST * Supports Enhanced Intel Speedstep
ACPI * Implements MSR for power management
TM * Implements thermal monitor circuitry
TM2 * Implements Thermal Monitor 2 control
APIC * Implements software-accessible local APIC
x2APIC - Supports x2APIC

CNXT-ID - L1 data cache mode adaptive or BIOS

MCE * Supports Machine Check, INT18 and CR4.MCE
MCA * Implements Machine Check Architecture
PBE * Supports use of FERR#/PBE# pin

PSN - Implements 96-bit processor serial number

PREFETCHW * Supports PREFETCHW instruction

Maximum implemented CPUID leaves: 0000000B (Basic), 80000008 (Extended).

Logical to Physical Processor Map:
-- Physical Processor 0 (Hyperthreaded)
--
Physical Processor 1 (Hyperthreaded)

Logical Processor to Socket Map:
**** Socket 0

Logical Processor to NUMA Node Map:
**** NUMA Node 0

No NUMA nodes.

Logical Processor to Cache Map:
-- Data Cache 0, Level 1, 32 KB, Assoc 8, LineSize 64
-- Instruction Cache 0, Level 1, 32 KB, Assoc 4, LineSize 64
-- Unified Cache 0, Level 2, 256 KB, Assoc 8, LineSize 64
-- Data Cache 1, Level 1, 32 KB, Assoc 8, LineSize 64
-- Instruction Cache 1, Level 1, 32 KB, Assoc 4, LineSize 64
--
Unified Cache 1, Level 2, 256 KB, Assoc 8, LineSize 64
**** Unified Cache 2, Level 3, 3 MB, Assoc 12, LineSize 64

Logical Processor to Group Map:
**** Group 0

@ObiomaKI
Copy link

I think that Kite is not correctly identifying the capabilities of a CPU as it reported that my CPU does not support AVX issue to me, but my CPU does support AVX. see above CPU capabilities as AVX support was reported.

@ghost
Copy link

ghost commented Jan 4, 2020

same issue

@ObiomaKI
Copy link

ObiomaKI commented Jan 4, 2020 via email

@0rion5
Copy link

0rion5 commented Jan 4, 2020

I too am experiencing this issue. Kite runs with spyder no problem. i wonder what the fix is. please point to a fix please

@aasfalconhub
Copy link

Same issues what can we do please?

@shriyanss
Copy link

shriyanss commented Dec 30, 2020

Same problem. Can I run it on machine on cloud or with a virtual machine?

@LironCareto
Copy link

LironCareto commented Dec 30, 2020

It used to work in this same PC with the same CPU. Now it doesn't. What a way to kick out a bunch of your loyal users. >:(

@joaoricteixeira
Copy link

Same issue.
Surface go 2018 cpu doesn't suport AVX

@smbrooks
Copy link

smbrooks commented Jan 23, 2021

Please count me in. Dell workstations T3500, T5500. There are still a lot of these in service.

@Bardia-SG
Copy link

same problem... support us please!

@JoseDeFreitas
Copy link

Hello 👋. I'd really want to install Kite, but I'm facing this same problem. Please let us know about this. Thanks.

@Slluxx
Copy link

Slluxx commented Feb 21, 2021

Same Problem. This really sucks

@howdev
Copy link

howdev commented Feb 22, 2021

it is not kite. It is Tensorflow requires AVX instructions at the least to work. So CPU must have AVX

@sudo-nautilus
Copy link

it is not kite. It is Tensorflow requires AVX instructions at the least to work. So CPU must have AVX

Bruh,
I saw somewhere else that we can actually install Tensorflow in PC's without AVX support

@sudo-nautilus
Copy link

Guys, I found a possible solution, but need some workaround.
With intel SDE emulator is possible to install and run KiteService .

Install with sde -- KiteSetup.exe, then set sde path or just copy sde files to installation directory and run service with sde -- kited.exe

BR

Ok I'll test

@sudo-nautilus
Copy link

@bobooooooo that really works,
But it needs 64 bit windows,
While mine is x86_64

@howdev
Copy link

howdev commented Feb 25, 2021

installing software is not same using it. Kite bundles tensorflow with their compile options. You can install tensorflow without Kite.
https://www.tensorflow.org/install/pip#system-requirements
Tensorflow 1.6 requires AVX. but Kite only uses 1.15 should allow to run on any system. I checked the lib, Kiteco enabled AVX even in 1.15. It is much slower without AVX. I don't think you can notice the performance with something as simple as code completion.
AVX is from 2011, you still have CPU more than 10 years old?

@sudo-nautilus
Copy link

installing software is not same using it. Kite bundles tensorflow with their compile options. You can install tensorflow without Kite.
https://www.tensorflow.org/install/pip#system-requirements
Tensorflow 1.6 requires AVX. but Kite only uses 1.15 should allow to run on any system. I checked the lib, Kiteco enabled AVX even in 1.15. It is much slower without AVX. I don't think you can notice the performance with something as simple as code completion.
AVX is from 2011, you still have CPU more than 10 years old?

I have :p

@sudo-nautilus
Copy link

I'm now trying to emulate a system which is 64 bit and have AVX support using QEMU and SDE

@gajenlee
Copy link

gajenlee commented Mar 3, 2021

how to fix it.

@sudo-nautilus
Copy link

Attempt failed

@sudo-nautilus
Copy link

how to fix it.

Use Intel SDE

@sylla156
Copy link

sylla156 commented Apr 8, 2021

so if understand there is no solution for the avx processor

@sudo-nautilus
Copy link

so if understand there is no solution for the avx processor

Intel sde - try that

@TechnoDiver
Copy link

I just got this problem too.. but if this has been going on for 2 years they obviously don't care

@Polydynamical
Copy link

It's not that they don't care; Tensorflow, the machine learning module they use, requires the AVX instruction set. However, as mentioned above, there is a work around with using the Intel SDE

@mariolim96
Copy link

mariolim96 commented Apr 23, 2021

Pentium g4400 have avx instruction set but it doesn't work

@neonbeast
Copy link

Please add support for these machines. :(

@zalloy
Copy link

zalloy commented May 6, 2021

I think maybe the issue is the version of Tensorflow that Kite uses. I have a laptop where I am able to install Tensorflow, yet Kite refuses to work due to this issue. If we can install Tensorflow on the machine, then how do we make Kite use the installed version?

@george-bobby
Copy link

I got the same error

@Lakril
Copy link

Lakril commented Jul 25, 2021

I have activate AVX in the bios. But I have the same error.

@jerryliang122
Copy link

jerryliang122 commented Oct 9, 2021

I have a old CPU(E5670) and a Tesla P4. They sad Tensorflow need AVX but Tensorflow can work in GPU.Kite not support Tensorflow-GPU?

@natainditama
Copy link

I got the same error

@AzlanCoding
Copy link

AzlanCoding commented Mar 24, 2023

@mariolim96 @Lakril See the post all the way on top

For those who have Windows and have the "AVX" message I solved this issue with this command in cmd:
bcdedit /set xsavedisable 0

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

No branches or pull requests