Skip to content

Commit

Permalink
temp fix for Deepspeed related issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaincc committed Jul 26, 2024
1 parent e7b23f4 commit 3de2c08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/training/finetune_acft_image/src/finetune/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

"""File containing function for finetune component."""

# Remove when base image issues are resolved.
import deepspeed

import os
import json
import argparse
Expand Down Expand Up @@ -881,6 +884,8 @@ def main():
parser = get_parser()
args, _ = parser.parse_known_args()

print(f"Deepspeed Version: {deepspeed.__version__}")

if args.task_name in [Tasks.HF_SD_TEXT_TO_IMAGE]:
parser = add_sd_args_to_parser(parser)
args, _ = parser.parse_known_args()
Expand Down

0 comments on commit 3de2c08

Please sign in to comment.