Bince Qu

Results comments of Bince Qu

如何使用value free呀

self.model: PreTrainedModel = AutoModelForCausalLM.from_pretrained( local_model_path, config=config, torch_dtype=torch.float32, #torch_dtype=torch.bfloat16 if self.config.fp16 else torch.float16, attn_implementation="flash_attention_2", trust_remote_code=trust_remote_code, ) i encounterec this issue when setting bfloat16, i change torch_dtype=torch.float32, and it didnt occur