You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two examples that break with deploying to step-functions:
@resources@batch(use_tmpfs=True)
@resources(shared_memory=1024)
The culprit is a combination of how compute_resource_attributes tries casting any numeric value to float, and outputting the max as a string, and step-functions relying on the batch implementation, which expects the correct types from the batch decorator for attributes (namely integers)
No issue exists with run --with batch due to the resources decorator attributes going through a json encode/decode before hitting the batch implementation.
The text was updated successfully, but these errors were encountered:
Two examples that break with deploying to step-functions:
@resources(shared_memory=1024)
The culprit is a combination of how
compute_resource_attributes
tries casting any numeric value to float, and outputting the max as a string, and step-functions relying on the batch implementation, which expects the correct types from the batch decorator for attributes (namely integers)No issue exists with
run --with batch
due to the resources decorator attributes going through a json encode/decode before hitting the batch implementation.The text was updated successfully, but these errors were encountered: