transformers
enable OffloadedCache on XPU from PyTorch 2.7
#36654
Merged

enable OffloadedCache on XPU from PyTorch 2.7 #36654

SunMarc merged 20 commits into huggingface:main from yao-matrix:offloadedcache
yao-matrix
yao-matrix fix "Cannot copy out of meta tensor; no data!" issue for BartForCondi…
d56974cb
yao-matrix Merge branch 'huggingface:main' into main
54514537
yao-matrix Merge branch 'main' into main
ddd94438
yao-matrix follow Marc's suggestion to use _tie_weights to fix
9298d45b
yao-matrix Merge branch 'huggingface:main' into main
aaf748df
yao-matrix enable OffloadedCache on XPU since PyTorch 2.7
da6901de
github-actions github-actions marked this pull request as draft 1 year ago
github-actions
yao-matrix Merge branch 'main' into offloadedcache
6177fa7c
yao-matrix fix style
62e3991d
yao-matrix yao-matrix marked this pull request as ready for review 1 year ago
github-actions github-actions requested a review from Rocketknight1 Rocketknight1 1 year ago
github-actions github-actions requested a review from ydshieh ydshieh 1 year ago
don't change bart
36293e3c
yao-matrix
yao-matrix Merge branch 'main' into offloadedcache
f5b58e32
SunMarc Merge branch 'main' into offloadedcache
97beafcf
ydshieh
SunMarc Merge branch 'main' into offloadedcache
5851f663
SunMarc
SunMarc approved these changes on 2025-03-13
n17s
n17s commented on 2025-03-13
SunMarc SunMarc requested a review from gante gante 1 year ago
yao-matrix make code more concise per review comments
5d28624e
n17s
n17s approved these changes on 2025-03-14
yao-matrix Merge branch 'main' into offloadedcache
b6b323c5
gante
gante approved these changes on 2025-03-17
yao-matrix Merge branch 'main' into offloadedcache
fa15c53d
fix review comments
acf1484b
Revert "fix review comments"
9148e766
fix review comments
3d0a1585
fix style
48af80e8
SunMarc
SunMarc approved these changes on 2025-03-18
SunMarc SunMarc requested a review from gante gante 1 year ago
yao-matrix Merge branch 'main' into offloadedcache
1ee57886
SunMarc SunMarc merged b11050d6 into main 1 year ago
loadams
yao-matrix
loadams
yao-matrix yao-matrix deleted the offloadedcache branch 1 year ago
gante

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone