TRELLIS.2
TRELLIS.2 copied to clipboard
Convert safetensors to ckpt
Hello I want to convert safetensors files to ckpt for finetuning. How can i do this? I want to convert safetensors files from https://huggingface.co/microsoft/TRELLIS.2-4B/tree/main/ckpts
maybe you don't need to convert, just use "model_ckpt = safetensors.torch.load_file(finetune_ckpt[name], device=str(self.device))" instead of "model_ckpt = torch.load(read_file_dist(finetune_ckpt[name]), map_location=self.device, weights_only=True)" in the trellis2/trainers/basic.py