By Hyunjoo Jin

SAN FRANCISCO (Reuters) -Andrej Karpathy, a high-profile Tesla executive who played a key role in developing the electric car maker’s artificial intelligence and automated driving technology, said on Wednesday he is leaving the company.

The departure of Karpathy, who provided no reason for leaving, comes at a critical time as Chief Executive Elon Musk races to achieve full self-driving capability this year, after missing earlier targets several times.

Credit Suisse analyst Dan Levy wrote in an investor note that Karpathy’s departure “possibly reflects challenges to Tesla progress in FSD/robotaxi.

“We continue to view Tesla efforts in AV/robotaxi as ‘show me'”

The departure of Karpathy, whose title was senior director of AI, came after Tesla on Tuesday said it was shutting its office in San Mateo, California, part of the company’s team developing “Autopilot” driver assistant technology.

“It’s been a great pleasure to help Tesla towards its goals over the last 5 years and a difficult decision to part ways,” Karpathy tweeted, adding that he does not have concrete plans for what he will do next.

Musk responded in a tweet: “Thanks for everything you have done for Tesla! It has been an honor working with you.”

Tesla’s driver assistant technology made big strides during Karpathy’s tenure, although the technology fell short of promises by Musk, who said in 2019 that Tesla would launch driverless taxis by 2020.

“I would imagine that there will be an internal promotion to fill Karpathy’s position. It would not be easy to get somebody externally with Karpathy’s experience and knowledge,” said Raj Rajkumar, professor of electrical and computer engineering at Carnegie Mellon University.

Musk said in a podcast interview in January that Karpathy played an important role, but added: “People will give me too much credit and they’ll give Andrej too much credit.”

In late March, Karpathy said he was taking a four-month sabbatical to “re-sharpen my technical edge.”

(Reporting by Hyunjoo Jin in San FranciscoEditing by Leslie Adler and Matthew Lewis)