In the code of sample_ipadapter_plus.py ,if comments pipe.enable_model_cpu_offload(),there is error: Input type (torch.cuda.HalfTensor) and weight type (torch.HalfTensor) should be the same. How can I load all the weight into cuda, not retain some weight in cpu.
In the code of sample_ipadapter_plus.py ,if comments pipe.enable_model_cpu_offload(),there is error: Input type (torch.cuda.HalfTensor) and weight type (torch.HalfTensor) should be the same. How can I load all the weight into cuda, not retain some weight in cpu.