Skip to content

Commit be1b35e

Browse files
Maxusmustianishasthana
authored andcommitted
Updates for 0.4.3 release
1 parent dee975b commit be1b35e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demo-notebooks/batch-job/batch_mnist_ray.ipynb

+1
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
],
325325
"source": [
326326
"jobdef = DDPJobDefinition(\n",
327+
" name=\"mnisttest\",\n",
327328
" script=\"mnist.py\",\n",
328329
" scheduler_args={\"requirements\": \"requirements.txt\"}\n",
329330
")\n",

demo-notebooks/batch-job/mnist.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
# In[]
1616
import os
17-
from tkinter import W
1817

1918
import torch
2019
from pytorch_lightning import LightningModule, Trainer
@@ -150,7 +149,7 @@ def test_dataloader(self):
150149
trainer = Trainer(
151150
accelerator="auto",
152151
# devices=1 if torch.cuda.is_available() else None, # limiting got iPython runs
153-
max_epochs=100,
152+
max_epochs=5,
154153
callbacks=[TQDMProgressBar(refresh_rate=20)],
155154
num_nodes=int(os.environ.get("GROUP_WORLD_SIZE", 1)),
156155
devices=int(os.environ.get("LOCAL_WORLD_SIZE", 1)),

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "codeflare-sdk"
3-
version = "0.4.2"
3+
version = "0.4.3"
44
description = "Python SDK for codeflare client"
55

66
license = "Apache-2.0"

0 commit comments

Comments
 (0)