Chipmaker Advanced Micro Devices has agreed to acquire World Labs for $8.2 billion, gaining an artificial intelligence startup founded by industry pioneer and researcher Fei-Fei Li.

The all-stock transaction is expected to close by the end of the year, subject to regulatory approvals, the companies said in a statement Monday.

AMD, a key challenger to Nvidia in the market for AI chips, is adding a team of leading researchers and their models, along with insights into how the AI field is evolving. That should help the company plan its future hardware releases.