issue-tracker icon indicating copy to clipboard operation
issue-tracker copied to clipboard

Support for M1 Macs

Open mandpd opened this issue 5 years ago • 24 comments

Is kite supported on the new M1 macs? I'm not able to get the kite app to appear after install. I couldn't see anywhere on the web site or FAQ where this was addressed.

mandpd avatar Nov 23 '20 22:11 mandpd

Hi,

We don't currently build Kite for Apple silicon. This is on our roadmap, but we don't yet have an expected date for supporting the new Apple silicon devices.

It might be possible to run Kite with Apple's binary translation layer, but this is completely untested, and may not be fully functional: https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment

metalogical avatar Nov 23 '20 22:11 metalogical

@mandpd Have you tried the translation with rosetta? I'm considering buying an M1 and but I rely on Kite quite a lot so I'm wondering if it is functional.

Dvisacker avatar Dec 01 '20 01:12 Dvisacker

@Dvisacker the kite app installs but doesn't have an 'open using Rosetta' option under 'Get Info' (which some applications, e.g. 'Terminal', do). Launching it fails to bring up the GUI. PyCharm and VS Code both work fine. I'm relatively new to Kite and haven't got hooked on it yet, so I'm just reverting to the IDE intellisense etc.

mandpd avatar Dec 01 '20 04:12 mandpd

At launch from Terminal, it outputs an error on M1 from inside Rosetta Emulated Terminal:

  /Applications ❯ Kite.app/Contents/MacOS/Kite                  at  19:41:52
[region= release=] 2020/12/01 19:43:59.511398 lib.go:14: loading tensorflow dynamically...
[region= release=] 2020/12/01 19:43:59.511504 loader_darwin.go:16: loading tensorflow libtensorflow.1.15.0.dylib
[1]    15133 illegal hardware instruction  Kite.app/Contents/MacOS/Kite

And PyCharm notifies that no Kite Engine is running.

prutheus avatar Dec 01 '20 18:12 prutheus

@Prutheus I know that you need to use a fork of tensorflow-2.4.0-rc2 to run tensorflow on the M1 chip and the error message you’re getting suggests that the kite app is trying to use tensorflow-1.1 - I think that’s the end of the line until Apple provides mainstream support for Tensorflow on M1

mandpd avatar Dec 01 '20 20:12 mandpd

Kite uses AVX instruction set I think. Rosetta cannot translate AVX instructions.

ckfrank avatar Jan 27 '21 19:01 ckfrank

Even with the Rosetta Translator Kite does not work on Apple M1 Macs. What is the current status for this platform request? Thanks!

tonytrill avatar Mar 02 '21 20:03 tonytrill

We plan on implementing support for Apple Silicon devices this year, but there's not yet a concrete timeline on exactly when that will happen.

metalogical avatar Mar 02 '21 21:03 metalogical

Signed up for notifications after losing time in debugging why the downloaded app doesn't start on M1.

IMHO: For now; a build that complains about the missing hardware (or a warning on the download page); would be very nice to your users.

acidjunk avatar Mar 04 '21 11:03 acidjunk

A solution with Rosetta 2 would not be possible by waiting for a native ARM version? That's why Rosetta 2 was invented. Many programs were released with a Rosetta compatible version only a few days/weeks after the release of the M1 macs. My question may be silly, but why can't Kite be started with Rosetta?

ghost avatar Apr 12 '21 10:04 ghost

Kite please help in fixing this issue. Kit does not work with Mac OSX (Apple M1 and Version 11.2.3). I also have a pro license. Which is almost of no use now.

praveenkumarpgiindia avatar Apr 18 '21 18:04 praveenkumarpgiindia

I bought my Pro subscription: expecting I could use it on my new laptop. Hope you will be a bit more active with news to your users. When will the concrete timeline be available?

acidjunk avatar Apr 19 '21 13:04 acidjunk

Please any timelines for the release of support of Mac. My colleagues are also facing same issues. Kite is for fast coding. Suprised that a MAC support cant be brought about in 8 months time also

praveenkumarpgiindia avatar May 04 '21 16:05 praveenkumarpgiindia

Last updated status on Kite website was on Dec,2020. At least release the Developer Preview version of Kite for M1 or keep your users upto date about the timeline. Is there anyone assigned who is working on this specific issue?

srajanseth84 avatar May 16 '21 17:05 srajanseth84

@metalogical this shouldn't need months and months of engineering work, it's usually a fairly simple process of building a Universal binary. It's really embarrassing that this takes you so much time

cristim avatar May 18 '21 09:05 cristim

@praveenkumarpgiindia @cristim Tabnine releases native support for M1 in jan,21 and their product is better than free version of Kite. Tabnine also works mostly on all known editor like VScode , Sublime Text and even on Intellij and Jupyter notebook. https://www.tabnine.com/

I found this article which shows comparison between Kite and Tabnine https://medium.com/swlh/kite-vs-tabnine-which-ai-code-autocomplete-should-you-choose-eb6eba85c3a6 which is 5-6 month old and now Tabnine is even more better and provide better support than kite

Now It's up to guys Kite Team is taking so much time and WWDC21 is here all the major organisations even open source software are now run natively on M1

srajanseth84 avatar May 25 '21 00:05 srajanseth84

Can we get a bit serious admin @kite. Please reply with the timelines for launch. Our subscription is also going to waste. Not to inform about the loss of productivity. Our mental dependence on Kite is taken for a ride here !!!

praveenkumarpgiindia avatar May 29 '21 05:05 praveenkumarpgiindia

Just found out they discontinued Kite Pro... We can't even download kite now

munhouiani avatar Jun 11 '21 06:06 munhouiani

I recently switched to tabnine. Bam. Works perfectly for me.

malagant avatar Jun 11 '21 15:06 malagant

I tried reinstalling the application from the following link, found in another issue: https://release.kite.com/dls/mac/current

After reinstalling it worked perfectly on my m1 macbook pro.

riccardo97p avatar Jul 08 '21 07:07 riccardo97p

I tried reinstalling the application from the following link, found in another issue: https://release.kite.com/dls/mac/current

After reinstalling it worked perfectly on my m1 macbook pro.

Is kite working inside Jupyter Lab Environment?

srajanseth84 avatar Jul 08 '21 23:07 srajanseth84

Is kite working inside Jupyter Lab Environment?

Sorry, I'm not using Jupyter, but in IntelliJ the Kite plugin shows that it is running, so I guess it should work too.

riccardo97p avatar Jul 12 '21 08:07 riccardo97p

Can confirm it works with vscode as well.

0x6F72656F73 avatar Jul 12 '21 17:07 0x6F72656F73

Is kite working inside Jupyter Lab Environment?

Sorry, I'm not using Jupyter, but in IntelliJ the Kite plugin shows that it is running, so I guess it should work too.

It works perfectly with Jupyter Lab, just make sure you follow the steps below to install it.

Please note you have to have conda (miniforge3 in M1 Macs) installed, if you don't have conda installed follow this tutorial: https://youtu.be/p8rty8Zwl_w.

CREATE A NEW CONDA ENV: Install Conda Env using this command: conda create -n name_of_the_env

Install Jupyter lab:

Install Jupyter lab using this command: conda install -c conda-forge "jupyterlab<3.0"

You need to install a version of Jupyter lab which is lower than 3 (the command above does the job), because the kite copilot doesn't seem to work with a version greater than version 3. If you install a version greater than 3 you will still get kite suggestions but the copilot doesn't seem to work.

INSTALL KITE: Install Kite using this command: jupyter labextension install "@kiteco/jupyterlab-kite".

The extension might ask you to install npm, if you don't have npm already installed. Which you can do so by running this command: conda install -c conda-forge nodejs

Check if it works, by running jupyter lab in the terminal to open a Jupyter lab window in the browser.

sanjayshreeyans avatar Jul 13 '21 19:07 sanjayshreeyans