Skip to content

Commit

Permalink
Template linux test Workspace in CI (#2956)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanluo-nvidia authored Jun 27, 2024
1 parent 2a6dda9 commit d245716
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-torchscript-fe
repository: "pytorch/tensorrt"
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-dynamo-converters
repository: "pytorch/tensorrt"
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-dynamo-fe
repository: "pytorch/tensorrt"
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-dynamo-serde
repository: "pytorch/tensorrt"
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-torch-compile-be
repository: "pytorch/tensorrt"
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-dynamo-core
repository: "pytorch/tensorrt"
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
uses: pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3
uses: ./.github/workflows/linux-test.yml
with:
job-name: tests-py-core
repository: "pytorch/tensorrt"
Expand Down
4 changes: 2 additions & 2 deletions toolchains/ci_workspaces/WORKSPACE.x86_64.release.rhel.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ http_archive(
name = "libtorch",
build_file = "@//third_party/libtorch:BUILD",
strip_prefix = "libtorch",
urls = ["https://download.pytorch.org/libtorch/nightly/cu124/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
urls = ["https://download.pytorch.org/libtorch/${CHANNEL}/${CU_VERSION}/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
)

http_archive(
name = "libtorch_pre_cxx11_abi",
build_file = "@//third_party/libtorch:BUILD",
strip_prefix = "libtorch",
urls = ["https://download.pytorch.org/libtorch/nightly/cu124/libtorch-shared-with-deps-latest.zip"],
urls = ["https://download.pytorch.org/libtorch/${CHANNEL}/${CU_VERSION}/libtorch-shared-with-deps-latest.zip"],
)

http_archive(
Expand Down

0 comments on commit d245716

Please sign in to comment.