AI model porting