Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: single hf examples again #6761

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
import torch
import transformers
from datasets import load_dataset
from determined.integrations.huggingface import (
DetCallback,
create_consistent_hf_args_for_deepspeed,
get_hf_args_with_overwrites,
)
from determined.pytorch import dsat
from torch.utils.tensorboard import SummaryWriter
from transformers import (
CONFIG_MAPPING,
Expand All @@ -61,6 +55,7 @@
from transformers.utils.versions import require_version

import determined as det
from determined.integrations.huggingface import DetCallback, get_hf_args_with_overwrites
from determined.pytorch import dsat

# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
Expand Down