Skip to content

Commit

Permalink
remove simulated preemptions
Browse files Browse the repository at this point in the history
  • Loading branch information
thundergolfer committed Jan 3, 2024
1 parent 2e563e9 commit fb51711
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions 06_gpu_and_ml/flan_t5/flan_t5_finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ def track_restarts(restart_tracker: modal.Dict) -> int:
_allow_background_volume_commits=True,
)
def finetune(num_train_epochs: int = 1, size_percentage: int = 10):
from modal.exception import simulate_preemption

simulate_preemption(300)
from datasets import load_dataset
from transformers import (
AutoModelForSeq2SeqLM,
Expand Down

0 comments on commit fb51711

Please sign in to comment.