mirror of
https://github.com/deepseek-ai/DeepSeek-VL2
synced 2025-06-26 18:25:56 +00:00
remove clear_cuda_cache in forward
This commit is contained in:
@@ -618,8 +618,6 @@ class DeepseekVLV2ForCausalLM(DeepseekVLV2PreTrainedModel):
|
||||
cache_position=cache_position
|
||||
)
|
||||
|
||||
self._clear_cuda_cache()
|
||||
|
||||
return outputs
|
||||
|
||||
def _clear_cuda_cache(self):
|
||||
|
||||
Reference in New Issue
Block a user