-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: less earthly runners + e2e GA runners, bb bench #5356
Merged
Merged
Changes from 20 commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
27d8c99
upload
ludamad de2ba7d
scripts
ludamad 10fec72
client ivc bench results
ludamad dd9c432
add build step
ludamad e093131
e2e
ludamad 35e107d
typo:
ludamad e3cde2c
fix
ludamad 32d6037
BENCH
ludamad 541f5ec
build
ludamad 337dff4
just do x86
ludamad caf8710
new CI
ludamad 45e6fcb
fix paralleism
ludamad 42c15cf
legibile
ludamad 6b2f9de
more e2e
ludamad 55cd5ce
solutions
ludamad 85599f6
benches
ludamad e4d72f8
updates
ludamad 945d53d
wasm
ludamad c2bf655
srs db
ludamad 3256b78
wasmtime target
ludamad d3d99c9
firing off ci
ludamad ecd5202
try scaling
ludamad 2d125b5
fix e2e
ludamad 4201bb0
workaround
ludamad 4ee92fd
proper sizing
ludamad fcb3a03
proper sizing
ludamad 28cdf8e
not a valid size: ludamad
ludamad c60b039
Merge remote-tracking branch 'origin/master' into ad/bench-upload-s3
ludamad d3fcafe
what if we just one task
ludamad 75c3973
try fix content hash
ludamad e9f08f8
fix
ludamad 3f0553a
debug content hash
ludamad 469b3cf
sort
ludamad 629706e
fix content
ludamad 4764d7e
wait groups
ludamad 4807ac8
recover from inconsistent graph
ludamad e0872c9
fix script
ludamad ce79a1c
fix script
ludamad e3caee1
parse
ludamad 409b766
try without docker registry
ludamad e240ba6
docker locally
ludamad 3a11a2c
content hash [skip ci]
ludamad 52c0b42
fix
ludamad d8c03ea
hashes
ludamad 756ac2d
content hashes
ludamad e50fe65
up
ludamad 94d9fc5
up
ludamad e7ad88d
fixes
ludamad 373d54f
build kit output max
ludamad 127ff76
try local docker
ludamad 036dc3c
earthly
ludamad fc6536f
make
ludamad e3bd8d5
make
ludamad 5af0b39
host
ludamad b46e081
put build in one log
ludamad 9d88ca8
ok
ludamad 85e54a4
docker load
ludamad c6cca1a
set parallelism of satellites
ludamad b62827d
continue
ludamad 5b0788a
pain
ludamad 10d6e18
fun stuff
ludamad e194915
Merge branch 'master' into ad/bench-upload-s3
ludamad 9029064
try run
ludamad 2bfda85
Merge remote-tracking branch 'origin/master' into ad/bench-upload-s3
ludamad bf088b3
Merge remote-tracking branch 'origin/ad/bench-upload-s3' into ad/benc…
ludamad 23d0c36
less spam
ludamad 76dd59c
firing off ci
ludamad b4672a1
docker
ludamad 931a46a
remote cache?
ludamad 7cf821a
fix hash
ludamad d1120c7
commit tagging
ludamad 768340f
e2e
ludamad e0ab0bb
arm tag fixes
ludamad 17cd401
more ignore
ludamad 7af34c4
ignore failing
ludamad f0477b4
more ignore
ludamad 6f86958
fix
ludamad c370845
add privileged flag
ludamad 81c61bb
fix?
ludamad bb15128
fix arm
ludamad f03de76
Update
ludamad 2f7e352
Merge remote-tracking branch 'origin/ad/bench-upload-s3' into ad/benc…
ludamad 034446b
port
ludamad 5ee90ec
fix
ludamad e9e68b8
Update Makefile
ludamad a39973b
cmake
ludamad b55de66
fix ctest, simplify RUN_CMAKE
ludamad 861f67a
comment
ludamad 7a3196e
Merge remote-tracking branch 'origin/ad/bench-upload-s3' into ad/benc…
ludamad 1e56368
Update
ludamad 5a1e91b
Update
ludamad 4dcd205
more runners for trial
ludamad b93d0fc
Delete scripts/earthly-config.yml
ludamad db74c0c
up
ludamad 1e813bf
soure
ludamad 74e6868
find
ludamad ad66a25
go on for now
ludamad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,10 @@ get-wasi-sdk: | |
FROM aztecprotocol/cache:wasi-sdk-threads-v21.0-$TARGETARCH | ||
SAVE ARTIFACT wasi-sdk | ||
|
||
wasmtime: | ||
RUN curl https://wasmtime.dev/install.sh -sSf | bash | ||
SAVE ARTIFACT /root/.wasmtime/bin/wasmtime | ||
|
||
source: | ||
# cpp source | ||
COPY --keep-ts --dir src/barretenberg src/CMakeLists.txt src | ||
|
@@ -61,7 +65,7 @@ source: | |
|
||
preset-release-assert-all: | ||
FROM +source | ||
RUN cmake --preset clang16 -DCMAKE_BUILD_TYPE=RelWithAssert && cmake --build --preset clang16 | ||
DO +RUN_CMAKE --configure="--preset clang16 -DCMAKE_BUILD_TYPE=RelWithAssert" --build="" | ||
SAVE ARTIFACT bin | ||
|
||
preset-release: | ||
|
@@ -132,7 +136,7 @@ test: | |
BUILD +test-clang-format | ||
FROM +preset-release-assert-all | ||
COPY --dir ./srs_db/+build/. srs_db | ||
RUN cd build && GTEST_COLOR=1 ctest -j$(nproc) --output-on-failure | ||
RUN GTEST_COLOR=1 ctest -j$(nproc) --output-on-failure | ||
|
||
# Functions | ||
RUN_CMAKE: | ||
|
@@ -159,33 +163,35 @@ BENCH_RELEASE: | |
ARG target | ||
ARG args | ||
FROM +preset-release | ||
DO +BUILD --configure="--preset clang16" --build="--target $target" | ||
COPY --dir ./srs_db/+build/. srs_db | ||
RUN cd build && ./bin/$target $args | ||
DO +RUN_CMAKE --configure="--preset clang16" --build="--target $target" | ||
COPY --dir ./srs_db/+build/. ../srs_db | ||
RUN ./bin/$target $args | ||
|
||
BENCH_OP_COUNT_TIME: | ||
FUNCTION | ||
ARG target | ||
ARG args | ||
FROM +preset-op-count-time | ||
DO +RUN_CMAKE --configure="--preset op-count-time" --build="--target $target" | ||
COPY --dir ./srs_db:+build/. srs_db | ||
RUN cd build && ./bin/$target $args | ||
COPY --dir ./srs_db:+build/. ../srs_db | ||
RUN ./bin/$target $args | ||
|
||
BENCH_OP_COUNT: | ||
FUNCTION | ||
ARG target | ||
ARG args | ||
FROM +preset-op-count | ||
DO +RUN_CMAKE --configure="--preset op-count" --build="--target $target" | ||
COPY --dir ./srs_db/+build/. srs_db | ||
RUN cd build && ./bin/$target $args | ||
COPY --dir ./srs_db/+build/. ../srs_db | ||
RUN ./bin/$target $args | ||
|
||
BENCH_WASM: | ||
FUNCTION | ||
ARG target | ||
ARG args | ||
FROM +preset-wasm | ||
DO +RUN_CMAKE --configure="--preset wasm-threads" --build="--target $target" | ||
COPY --dir ./srs_db/+build/. srs_db | ||
RUN cd build && ~/.wasmtime/bin/wasmtime run --env HARDWARE_CONCURRENCY=8 -Wthreads=y -Sthreads=y --dir=.. ./bin/$target $args | ||
COPY --dir ./srs_db/+build/. ../srs_db | ||
# install | ||
COPY +wasmtime/wasmtime /usr/bin/wasmtime | ||
RUN wasmtime run --env HARDWARE_CONCURRENCY=8 -Wthreads=y -Sthreads=y --dir=.. ./bin/$target $args | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. earthly script deleted in favour of github actions |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eux | ||
|
||
USERNAME=$1 | ||
ARCH=$2 | ||
|
||
shift 2 | ||
|
||
if [ "$ARCH" == "arm" ]; then | ||
PLATFORM=linux/arm64 | ||
elif [ "$ARCH" == "x86" ]; then | ||
PLATFORM=linux/amd64 | ||
fi | ||
earthly sat --org aztec launch --size 2xlarge --platform $PLATFORM build-$USERNAME-$ARCH || true | ||
earthly -P --no-output --org aztec --remote-cache=aztecprotocol/cache:bb-native-tests --sat build-$USERNAME-$ARCH $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eux | ||
|
||
USERNAME=$1 | ||
ARCH=$2 | ||
|
||
shift 2 | ||
|
||
if [ "$ARCH" == "arm" ]; then | ||
PLATFORM=linux/arm64 | ||
elif [ "$ARCH" == "x86" ]; then | ||
PLATFORM=linux/amd64 | ||
fi | ||
earthly sat --org aztec launch --size 2xlarge --platform $PLATFORM bench-$USERNAME-$ARCH || true | ||
earthly -P --no-output --org aztec --remote-cache=aztecprotocol/cache:bb-native-tests --sat bench-$USERNAME-$ARCH $@ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can use some rethinking, but punting that