bacalhau
bacalhau copied to clipboard
sharding example with 10000 Images fails
Example https://docs.bacalhau.org/getting-started/parallel-workloads
CID: https://bafybeiew7kq43tx77tlkwafb6sep7oszq3g444i2qqlu7nxuedc4ngaapq.ipfs.nftstorage.link/
COMMAND:
bacalhau docker run -v bafybeiew7kq43tx77tlkwafb6sep7oszq3g444i2qqlu7nxuedc4ngaapq:/input_images -o results:/output_images --sharding-glob-pattern ISIC_*.jpg --sharding-base-path /input_images/ --sharding-batch-size 100 dpokidov/imagemagick -- -resize 100x100 -quality 100 -path /output_images /input_images/*.jpg
gives error
Possible causes of the issue: the IPLD traversing code that explodes the glob pattern
Cc @binocarlos - can you take a look?
@js-ts please try to repro with latest code (not the binary).
(i suspect this is the trailing slash issue, which I've now fixed in main)
please verify if this is still a problem
Yes, since sharding is broken it is also broken https://github.com/filecoin-project/bacalhau/issues/1043
Sharding has been removed.