mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 02:32:40 +00:00
commit
This commit is contained in:
parent
a77b8126d0
commit
db5492202f
1 changed files with 0 additions and 3 deletions
|
@ -587,9 +587,6 @@ class LoraFinetuningSingleDevice:
|
||||||
gc.collect()
|
gc.collect()
|
||||||
torch.cuda.empty_cache()
|
torch.cuda.empty_cache()
|
||||||
|
|
||||||
print("Allocated:", torch.cuda.memory_allocated() / 1e6, "MB")
|
|
||||||
print("Reserved: ", torch.cuda.memory_reserved() / 1e6, "MB")
|
|
||||||
|
|
||||||
return (memory_stats, checkpoints)
|
return (memory_stats, checkpoints)
|
||||||
|
|
||||||
async def validation(self) -> Tuple[float, float]:
|
async def validation(self) -> Tuple[float, float]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue