Skip to content

fix: npu free host cache#78

Merged
weixiao-huang merged 3 commits intoMoonshotAI:mainfrom
kip-cxj:npu_empty_host_cache
Jan 19, 2026
Merged

fix: npu free host cache#78
weixiao-huang merged 3 commits intoMoonshotAI:mainfrom
kip-cxj:npu_empty_host_cache

Conversation

@kip-cxj
Copy link
Contributor

@kip-cxj kip-cxj commented Jan 15, 2026

Motivation

torch._C._host_emptyCache() is not supported on NPU, so we call gc.collect() to empty host cache.

@weixiao-huang weixiao-huang merged commit 02a68dd into MoonshotAI:main Jan 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants