开发者社区> 问答> 正文

Does it support gpu coding in flink?

HI,I am running a tf inference task on my cluster,but I flind it took so long a time to get response, becase it is a bert model and I run it on cpu machine.My componey has gpu k8s cluster,and I read the document https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/advanced/external_resources/ count you give me a demo?Including tf inference on gpu and train on gpu? I use alink in some of my task, is there a demo for alink on gpu?*来自志愿者整理的flink

展开
收起
雪哥哥 2021-12-05 12:12:05 623 0
1 条回答
写回答
取消 提交回答
  • Hi, 目前有一个MNIST Inference的Demo[1]是使用GPU的,但是没有用到TensorFlow. 在flink-ai-extended项目中有个TensorFlow训练MNIST的例子[2],但不确定能否直接用GPU版TF执行。我帮你involve一下Becket和Wei来确认下。

    [1] https://github.com/KarmaGYZ/flink-mnist [2] https://github.com/alibaba/flink-ai-extended/tree/master/deep-learning-on-flink/flink-ml-examples/src/main/java/com/alibaba/flink/ml/examples/tensorflow/mnist*来自志愿者整理的flink

    2021-12-05 17:40:12
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Runtime Improvements for Flink as a Unified Engine 立即下载
Scaling 30 TB\'s of Data lake with Apache HBase and Scala DSL at Production 立即下载
【Flink Day - 02 - 五藏】Flink_Model_and_Modules 立即下载