Skip to content

Setup TorchBench in Docker #158613

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

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update
[ghstack-poisoned]
  • Loading branch information
huydhn committed Jul 17, 2025
commit 444df0faa1902563f8913f68aa128f3f3e34d659
16 changes: 12 additions & 4 deletions .ci/pytorch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,21 @@ else
if [[ -n "${BUILD_ADDITIONAL_PACKAGES}" ]]; then
if [[ "${BUILD_ADDITIONAL_PACKAGES}" == *vision* ]]; then
install_torchvision
elif [[ "${BUILD_ADDITIONAL_PACKAGES}" == *audio* ]]; then
fi

if [[ "${BUILD_ADDITIONAL_PACKAGES}" == *audio* ]]; then
install_torchaudio
elif [[ "${BUILD_ADDITIONAL_PACKAGES}" == *text* ]]; then
fi

if [[ "${BUILD_ADDITIONAL_PACKAGES}" == *text* ]]; then
install_torchtext
elif [[ "${BUILD_ADDITIONAL_PACKAGES}" == *torchrec* || "${BUILD_ADDITIONAL_PACKAGES}" == *fbgemm* ]]; then
fi

if [[ "${BUILD_ADDITIONAL_PACKAGES}" == *torchrec* || "${BUILD_ADDITIONAL_PACKAGES}" == *fbgemm* ]]; then
install_torchrec_and_fbgemm
elif [[ "${BUILD_ADDITIONAL_PACKAGES}" == *torchao* ]]; then
fi

if [[ "${BUILD_ADDITIONAL_PACKAGES}" == *torchao* ]]; then
install_torchao
fi
fi
Expand Down
6 changes: 1 addition & 5 deletions .ci/pytorch/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1670,11 +1670,7 @@ elif [[ "${TEST_CONFIG}" == verify_cachebench ]]; then
checkout_install_torchbench nanogpt
PYTHONPATH=$(pwd)/torchbench test_verify_cachebench
elif [[ "${TEST_CONFIG}" == *torchbench* ]]; then
if [[ "${TEST_CONFIG}" == *cpu* ]]; then
install_torchaudio
else
install_torchaudio
fi
install_torchaudio
install_torchvision
install_torchao
id=$((SHARD_NUMBER-1))
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy