Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Apr 23, 2024
1 parent 3162b1b commit ce7b807
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions examples/customizing_dependencies/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
flytekit
scikit-learn
pandas
3 changes: 2 additions & 1 deletion examples/data_types_and_io/requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pandas
pandas
torch
2 changes: 1 addition & 1 deletion examples/feast_integration/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ matplotlib
flytekitplugins-deck-standard
scikit-learn
numpy
feast[aws]
boto3
feast[aws]==0.25.0
3 changes: 2 additions & 1 deletion examples/kfpytorch_plugin/requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
flytekit==1.10.3
flytekitplugins-kfpytorch
matplotlib
torch
torch
tensorboardX
Original file line number Diff line number Diff line change
Expand Up @@ -369,21 +369,19 @@ def train_mnist(rank: int, world_size: int, hp: Hyperparameters):
if os.getenv("SANDBOX") != "":
mem = "100Mi"
gpu = "0"
storage = "500Mi"
ephemeral_storage = "500Mi"
else:
mem = "30Gi"
gpu = str(WORLD_SIZE)
ephemeral_storage = "500Mi"
storage = "20Gi"


@task(
retries=2,
cache=True,
cache_version="1.2",
requests=Resources(gpu=gpu, mem=mem, storage=storage, ephemeral_storage=ephemeral_storage),
limits=Resources(gpu=gpu, mem=mem, storage=storage, ephemeral_storage=ephemeral_storage),
requests=Resources(gpu=gpu, mem=mem, ephemeral_storage=ephemeral_storage),
limits=Resources(gpu=gpu, mem=mem, ephemeral_storage=ephemeral_storage),
)
def pytorch_mnist_task(hp: Hyperparameters) -> TrainingOutputs:
print("Start MNIST training:")
Expand Down
1 change: 1 addition & 0 deletions examples/modin_plugin/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ flytekitplugins-deck-standard
flytekitplugins-modin
scikit-learn
modin
ray
2 changes: 1 addition & 1 deletion examples/sagemaker_inference_agent/requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flytekitplugins-awssagemaker>=1.12.0b2
flytekitplugins-awssagemaker==1.12.0b2
xgboost
fastapi
uvicorn
Expand Down
1 change: 1 addition & 0 deletions examples/snowflake_agent/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
flytekitplugins-snowflake==1.7.0
flytekitplugins-envd==1.9.0
flytekit==1.7.1b1
1 change: 1 addition & 0 deletions examples/snowflake_plugin/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
flytekitplugins-snowflake==1.7.0
flytekit==1.7.1b1
flytekitplugins-envd==1.9.0

0 comments on commit ce7b807

Please sign in to comment.