Open gaoshine opened 1 year ago
是否支持apple 的M1或M2芯片?
gpt_service.py self.model = AutoModel.from_pretrained(model_name_or_path, trust_remote_code=True).half() 改为 self.model = AutoModel.from_pretrained(model_name_or_path, trust_remote_code=True).half().to('mps')
是否支持apple 的M1或M2芯片?