fix: optimize gpu memory handling and stabilize session caching 2f633b7 signsur4739379373 commited on Jan 29