Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Jul 18, 2024
1 parent 0605436 commit 9f0d09e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-conda-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
env-var-script: .github/scripts/export_IS_M1_CONDA_BUILD_JOB.sh
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
package-name: ${{ matrix.package-name }}
Expand Down
3 changes: 3 additions & 0 deletions test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ def main() -> None:
print(f"torch.cuda.is_available: {torch.cuda.is_available()}")

print(f"{torch.ops.image._jpeg_version() = }")
print("XXX")
print(os.getenv("IS_M1_CONDA_BUILD_JOB"))
print("XXX")
if not torch.ops.image._is_compiled_against_turbo():
msg = "Torchvision wasn't compiled against libjpeg-turbo"
if os.getenv("IS_M1_CONDA_BUILD_JOB") == "1":
Expand Down

0 comments on commit 9f0d09e

Please sign in to comment.