Is this a problem caused by the tensorflow version?
Initializing models: 0%| | 0/5 [00:00<?, ?it/s]Error: Cannot assign a device for operation encoder/down1/downs_0/conv1/weight/Initializer/cai: Could not satisfy explicit device specification '' because the node node encoder/down1/downs_0/conv1/weight/Initializer/cai (defined at home/wangtao/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) placed on device Device assignments active during op 'encoder/down1/downs_0/conv1/weight/Initializer/cai' creation: with tf.device(None): </home/wangtao/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/ops/variables.py:1816> with tf.device(/GPU:0): </home2/wangtao/yhl-xhzy/DeepFaceLab_Linux/DeepFaceLab/models/Model_SAEHD/Model.py:259> was colocated with a group of nodes that required incompatible device '/device:GPU:0'. All available devices [/job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0, /job:localhost/replica:0/task:0/device:XLA_GPU:2]. Colocation Debug Info: Colocation group had the following types and supported devices: Root Member(assigned_device_name_index_=-1 requested_device_name_='/device:GPU:0' assigned_device_name_='' resource_device_name_='/device:GPU:0' supported_device_types_=[CPU] possible_devices_=[] Assign: CPU VariableV2: CPU Const: CPU XLA_CPU XLA_GPU Identity: CPU XLA_CPU XLA_GPU Fill: CPU XLA_CPU XLA_GPU
Initializing models: 0%| | 0/5 [00:00<?, ?it/s]Error: Cannot assign a device for operation encoder/down1/downs_0/conv1/weight/Initializer/cai: Could not satisfy explicit device specification '' because the node node encoder/down1/downs_0/conv1/weight/Initializer/cai (defined at home/wangtao/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) placed on device Device assignments active during op 'encoder/down1/downs_0/conv1/weight/Initializer/cai' creation: with tf.device(None): </home/wangtao/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/ops/variables.py:1816> with tf.device(/GPU:0): </home2/wangtao/yhl-xhzy/DeepFaceLab_Linux/DeepFaceLab/models/Model_SAEHD/Model.py:259> was colocated with a group of nodes that required incompatible device '/device:GPU:0'. All available devices [/job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0, /job:localhost/replica:0/task:0/device:XLA_GPU:2]. Colocation Debug Info: Colocation group had the following types and supported devices: Root Member(assigned_device_name_index_=-1 requested_device_name_='/device:GPU:0' assigned_device_name_='' resource_device_name_='/device:GPU:0' supported_device_types_=[CPU] possible_devices_=[] Assign: CPU VariableV2: CPU Const: CPU XLA_CPU XLA_GPU Identity: CPU XLA_CPU XLA_GPU Fill: CPU XLA_CPU XLA_GPU
I have the same problem, have you solved it?
Same here OS : Linux Mint 20.1 Kernel : 5.8.0-44 CPU : AMD Ryzen 5 3600 GPU : GeForce RTX 2080
Error: Cannot assign a device for operation XSeg/conv01/conv/weight: node XSeg/conv01/conv/weight (defined at /DeepFaceLab_Linux/DeepFaceLab/core/leras/layers/Conv2D.py:76) was explicitly assigned to /device:GPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0 ]. Make sure the device specification refers to a valid device. [[XSeg/conv01/conv/weight]] ....