Lyft is test-driving its autonomous vehicle in the Bay Area.

The San Francisco company today said it partnered with Mountain View-based Drive.ai to offer free rides on self-driving cars as part of a pilot program.

The move is a part of an ongoing race to develop fully autonomous vehicles. Many automakers and tech giants have been investing in the software and hardware that will enable cars to operate without human drivers. Proponents say driverless cars will save consumers money and time and provide…