Skip to content

Commit 6a0330e

Browse files
committed
update book
1 parent 15bac95 commit 6a0330e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

burn-book/src/import/pytorch-model.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Introduction
44

55
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
6+
you can import them into Burn. Burn supports importing PyTorch model weights with `.pt` and `.safetensors` file
7+
extension. Compared to ONNX models, `.pt` and `.safetensors` files only contain the weights of the model, so you will
88
need to reconstruct the model architecture in Burn.
99

1010
Here in this document we will show the full workflow of exporting a PyTorch model and importing it.

0 commit comments

Comments
 (0)