transformers
10ed83ff - fix: compatibility with torch<=2.7 (#46393)

Commit
11 hours ago
fix: compatibility with torch<=2.7 (#46393) * fix: compatibility with no-fp8 torch Signed-off-by: Hao Lin <linhaomails@gmail.com> * fix: raise if scale_fmt is fp8 without fp8 support Signed-off-by: Hao Lin <linhaomails@gmail.com> * fix: lint error Signed-off-by: Hao Lin <linhaomails@gmail.com> --------- Signed-off-by: Hao Lin <linhaomails@gmail.com>
Author
Parents
Loading