Skip to content

Commit

Permalink
Get rid of safetensors option.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwadden committed Apr 8, 2024
1 parent f800c55 commit bb2c39e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/s3_unshard_to_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ def make_parser():
)
parser.add_argument("--type", default=None, help="If given, pass this argument on to `unshard.py`.")
parser.add_argument("--model-only", action="store_true", help="If given, only unshard the model.")
parser.add_argument(
"--safe-tensors",
action="store_true",
help="Save unsharded safetensors as well.",
)
return parser


Expand Down Expand Up @@ -83,8 +78,6 @@ def s3_unshard_to_hf(args):
unshard_cmd += f" --type {args.type}"
if args.model_only:
unshard_cmd += " --model-only"
if args.safe_tensors:
unshard_cmd += " --safe-tensors"

subprocess.run(unshard_cmd, shell=True, check=True)

Expand Down

0 comments on commit bb2c39e

Please sign in to comment.