Skip to content

Split fbpkg: source-only cea.chips.benchpress + self-contained cea.chips.benchpress.oss_prebuild (#686)#686

Open
excelle08 wants to merge 2 commits into
facebookresearch:v2-betafrom
excelle08:export-D101889291-to-v2-beta
Open

Split fbpkg: source-only cea.chips.benchpress + self-contained cea.chips.benchpress.oss_prebuild (#686)#686
excelle08 wants to merge 2 commits into
facebookresearch:v2-betafrom
excelle08:export-D101889291-to-v2-beta

Conversation

@excelle08

@excelle08 excelle08 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary:

Split the DCPerf fbpkg into two packages:

  1. cea.chips.benchpress — source-only package. Benchmarks must be installed on the target server via benchpress install. This restores the original behavior before pre-built FeedSim was added.

  2. cea.chips.benchpress.oss_prebuild — self-contained package with pre-built benchmarks (currently FeedSim for x86_64 and aarch64). No benchpress install needed — just fbpkg fetch and benchpress run.

Also switches LibTorch from PyTorch pre-built zips to conda-packed tarballs for both architectures, fixing ARM DLRM (no aarch64 libtorch zip from PyTorch) and updating motivation/context in the implementation plan doc.

Reviewed By: gandhijayneel

Differential Revision: D101889291

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2026
@meta-codesync

meta-codesync Bot commented Jun 11, 2026

Copy link
Copy Markdown

@excelle08 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101889291.

…arch#685)

Summary:

Pre-build FeedSim at fbpkg build time so the package runs without
`benchpress install`. Both x86_64 and aarch64 use the same two-stage
offline build:

1. `feedsim_deps_download` — runs on x86 with network, downloads source
   tarballs and pre-packed conda env from Manifold
2. `feedsim_oss_build[_aarch64]` — runs on arch-specific RE host, extracts
   conda env (GCC 15.2, cmake, ninja), builds all deps from source, compiles
   FeedSim with DLRM support

Key changes:
- `build.sh`: standalone build script — extracts pre-packed conda env,
  builds Boost/gflags/glog/jemalloc/libevent/folly/fbthrift, compiles FeedSim
- `download_deps.sh`: downloads from Manifold (no internet fallback needed)
- BUCK: three genrules (deps_download, x86 build, aarch64 build) with
  `select()` in fbpkg path_actions for architecture dispatch
- CMake: pass-through CMAKE_PREFIX_PATH for staging dir in ExternalProject
- `run.sh`/`run-feedsim-multi.sh`: LD_LIBRARY_PATH for conda runtime libs

Performance (feedsim_autoscale, 3 iterations each):
- x86 Bergamo: 395.20 QPS self-contained vs 380.92 QPS master (+3.7%)
- ARM Grace:   324.57 QPS self-contained vs 322.48 QPS master (+0.6%)

Reviewed By: gandhijayneel

Differential Revision: D93702226
…ips.benchpress.oss_prebuild (facebookresearch#686)

Summary:

Split the DCPerf fbpkg into two packages:

1. `cea.chips.benchpress` — source-only package. Benchmarks must be installed on the target server via `benchpress install`. This restores the original behavior before pre-built FeedSim was added.

2. `cea.chips.benchpress.oss_prebuild` — self-contained package with pre-built benchmarks (currently FeedSim for x86_64 and aarch64). No `benchpress install` needed — just `fbpkg fetch` and `benchpress run`.

Also switches LibTorch from PyTorch pre-built zips to conda-packed tarballs for both architectures, fixing ARM DLRM (no aarch64 libtorch zip from PyTorch) and updating motivation/context in the implementation plan doc.

Reviewed By: gandhijayneel

Differential Revision: D101889291
@meta-codesync meta-codesync Bot changed the title Split fbpkg: source-only cea.chips.benchpress + self-contained cea.chips.benchpress.oss_prebuild Jun 25, 2026
@excelle08 excelle08 force-pushed the export-D101889291-to-v2-beta branch from 2495e65 to 8394c3f Compare June 25, 2026 22:45
meta-codesync Bot pushed a commit that referenced this pull request Jun 25, 2026
…ips.benchpress.oss_prebuild (#686)

Summary:
Pull Request resolved: #686

Split the DCPerf fbpkg into two packages:

1. `cea.chips.benchpress` — source-only package. Benchmarks must be installed on the target server via `benchpress install`. This restores the original behavior before pre-built FeedSim was added.

2. `cea.chips.benchpress.oss_prebuild` — self-contained package with pre-built benchmarks (currently FeedSim for x86_64 and aarch64). No `benchpress install` needed — just `fbpkg fetch` and `benchpress run`.

Also switches LibTorch from PyTorch pre-built zips to conda-packed tarballs for both architectures, fixing ARM DLRM (no aarch64 libtorch zip from PyTorch) and updating motivation/context in the implementation plan doc.

Reviewed By: gandhijayneel

Differential Revision: D101889291

fbshipit-source-id: a022d75169fde9e43bf7dd89629378bf18939799
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

1 participant