sql_env / docs /learnings /F011-gotchas.md
hjerpe's picture
Upload folder using huggingface_hub
9e64e71 verified
|
Raw
History Blame Contribute Delete
279 Bytes
# Learnings - Gotchas (F011)
- Sequentially evaluating large models in one notebook kernel requires explicit object teardown (`del` model/policy/tokenizer), `gc.collect()`, and `torch.cuda.empty_cache()` between conditions to avoid hidden GPU-memory carryover failures. *(F011)*