import ososenvironCUDA_VISIBLE_DEVICES=0import tensorflow as tfimport tensorflowkerasbackend as KprintUsing TensorFlow versiontf__version__# RESTRICT TENSORFLOW TO 8GB OF GPU RAM# SO THAT WE HAVE 8GB
Using TensorFlow version 2.4.1 We will restrict TensorFlow to max 8GB GPU RAM then RAPIDS can use 8GB GPU RAM
AI 优化版
原文地址:https://www.cveoy.top/t/topic/hcYI 著作权归作者所有。请勿转载和采集!