Putting artificial intelligence and machine learning workloads in the cloud