Shares of Baidu Inc. BIDU, -0.00% rallied 3.2% in premarket trade Wednesday, after the China-based internet search company announced a partnership with chipmaker Nvidia Corp. NVDA, -2.20% expand artificial intelligence-based offerings. Nvidia's stock climbed 1.1%. Baidu said it will use Nvidia chips to power its cloud offerings and to develop self-driving cars, and will use its DuerOS conversational AI system to help bring Nvidia's Shield TV to the Chinese market. "Our collaboration aligns our exceptional technical resources to create AI computing platforms for all developers--from academic research, startups creating breakthrough AI applications, and autonomous vehicles," said Ian Buck, Nvidia's general manager of accelerated computing. Baidu's stock has rallied 9.5% year to date through Monday, while Nvidia shares have shot up 30.5% and the S&P 500 SPX, -1.11% has gained 8.5%.