Skip to content

Commit

Permalink
fix the type of slurm memory variable SPEECH2TEXT_MEM argument: it ne…
Browse files Browse the repository at this point in the history
…eds to be string since it has format '8000M', '8G' etc.
  • Loading branch information
ruokolt committed Mar 14, 2024
1 parent f9dcc0a commit 79909ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_argument_parser():
)
parser.add_argument(
"--SPEECH2TEXT_MEM",
type=int,
type=str,
default=os.getenv("SPEECH2TEXT_MEM"),
help="Requested memory per job. If not given, should be set as an environment variable.",
)
Expand Down

0 comments on commit 79909ee

Please sign in to comment.