Commit 8bef102
authored
Update conversion script versions (#1204)
* Update conversion script versions
* Use custom float16 converter script
* Add MIT license header
* Use relative import
* Fix transformers to stable 4.48.x branch
* Add strictness check when saving model
* Create new output nodes after casts
* Use onnxslim after fp16 conversion
* Prevent in-place modification while iterating (infinite loops)
* Finalize fp16 quantization script
* Only warn if alignment heads can't be found1 parent c2ab81a commit 8bef102
File tree
6 files changed
+1007
-14
lines changed- scripts
- extra
6 files changed
+1007
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
| 63 | + | |
61 | 64 | | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | | - | |
68 | | - | |
| 71 | + | |
| 72 | + | |
0 commit comments