update examples after ruff being updated (#36972)
* update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -56,7 +56,7 @@ if __name__ == "__main__":
|
||||
cluster.run(["pip install torch --upgrade --extra-index-url https://download.pytorch.org/whl/cu117"])
|
||||
|
||||
# Run example. You can bypass the CLI wrapper and paste your own code here.
|
||||
cluster.run([f'python transformers/examples/{args.example} {" ".join(shlex.quote(arg) for arg in unknown)}'])
|
||||
cluster.run([f"python transformers/examples/{args.example} {' '.join(shlex.quote(arg) for arg in unknown)}"])
|
||||
|
||||
# Alternatively, we can just import and run a training function (especially if there's no wrapper CLI):
|
||||
# from my_script... import train
|
||||
|
||||
Reference in New Issue
Block a user