We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15bac95 commit 6a0330eCopy full SHA for 6a0330e
burn-book/src/import/pytorch-model.md
@@ -3,8 +3,8 @@
3
## Introduction
4
5
Whether you've trained your model in PyTorch or you want to use a pre-trained model from PyTorch,
6
-you can import them into Burn. Burn supports importing PyTorch model weights with `.pt` file
7
-extension. Compared to ONNX models, `.pt` files only contain the weights of the model, so you will
+you can import them into Burn. Burn supports importing PyTorch model weights with `.pt` and `.safetensors` file
+extension. Compared to ONNX models, `.pt` and `.safetensors` files only contain the weights of the model, so you will
8
need to reconstruct the model architecture in Burn.
9
10
Here in this document we will show the full workflow of exporting a PyTorch model and importing it.
0 commit comments