Skip to content
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

Test: CPU vs GPU workaround #332

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
6facae4
Add some comments to avoid duplicated error-finding
danpetry Jan 7, 2025
63aa7dd
Don't override upstream C++ standard
danpetry Jan 7, 2025
81363c0
Use N-1 cores
danpetry Jan 7, 2025
e8d6740
Add fall-through for blas if-else construct
danpetry Jan 7, 2025
e1f50ac
Don't isolate build
danpetry Jan 7, 2025
9fcb3a7
Unvendor pybind11 and eigen
danpetry Jan 7, 2025
ca90fa0
Add and run upstream smoke test
danpetry Jan 7, 2025
ff040de
Use unittest-xml-reporting instead of the historical xmlrunner
danpetry Jan 14, 2025
a2694a9
Add some testing for openmp bug, python api and torch.compile
danpetry Jan 14, 2025
6074128
reinstate `MAX_JOBS=${CPU_COUNT}` on azure
h-vetinari Jan 15, 2025
407a78d
Add description and doc_url
danpetry Jan 14, 2025
393d0d5
correct selector, move comment
danpetry Jan 14, 2025
0f9b587
Revert "Use N-1 cores"
danpetry Jan 17, 2025
4feaee5
Use N-1 cores by default
danpetry Jan 21, 2025
0fe0ba4
Remove CMAKE_ARGS conversion to individual env variables; legacy, rem…
danpetry Jan 21, 2025
14ca3d2
Hand TORCH_CUDA_ARCH_LIST to cmake rather than setting as an env vari…
danpetry Jan 21, 2025
eaaae74
Improve smoke test env variable comment
danpetry Jan 21, 2025
e19af70
Format patch with git format-patch, rename for clarity
danpetry Jan 21, 2025
939dae1
Bump version
danpetry Jan 21, 2025
af73dbe
Correct build number comment
danpetry Jan 21, 2025
65bcd3b
add build dependency on rsync rather than using platform
danpetry Jan 21, 2025
a26ede2
Don't use selectors in jinja expressions [ci skip] ***NO_CI***
danpetry Jan 23, 2025
03b2fc7
Add back disabling hypothesis tests
danpetry Jan 23, 2025
f3bfe5f
Hand contents of CMAKE_ARGS directly to CMake, to remove TORCH_CUDA_A…
danpetry Jan 23, 2025
a811bb2
Temporarily remove smoke test; it's not in the pytorch repo for v2.5.1
danpetry Jan 23, 2025
bd450c9
Revert "Hand contents of CMAKE_ARGS directly to CMake, to remove TORC…
danpetry Jan 24, 2025
6f49c62
Revert "Remove CMAKE_ARGS conversion to individual env variables; leg…
danpetry Jan 24, 2025
10bfd83
Revert "Use unittest-xml-reporting instead of the historical xmlrunner"
danpetry Jan 24, 2025
46f4e8e
appease linter
danpetry Jan 24, 2025
c1c1e6c
Merge branch 'main' into anaconda-sync
h-vetinari Jan 25, 2025
3a34b59
remove obsolete fmt handling in bld.bat
h-vetinari Jan 26, 2025
e19e11c
add pybind11 as a run-dependency of pytorch
h-vetinari Jan 26, 2025
6c232ae
build non-CUDA builds on CPU agents
h-vetinari Jan 25, 2025
75dabb4
MNT: Re-rendered with conda-build 25.1.1, conda-smithy 3.45.5.dev1+g5…
h-vetinari Jan 26, 2025
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
blas_impl:
- generic
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- None
cuda_compiler_version:
- None
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
github_actions_labels:
- cirun-openstack-cpu-2xlarge
is_rc:
- 'False'
libabseil:
- '20240722'
libblas:
- 3.9.* *netlib
libcblas:
- 3.9.* *netlib
liblapack:
- 3.9.* *netlib
libprotobuf:
- 5.28.3
libtorch:
- '2.4'
megabuild:
- 'true'
mkl:
- '2024'
nccl:
- '2'
numpy:
- '2.0'
- '2.0'
- '2.0'
- '2'
- '2.0'
orc:
- 2.0.3
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.4'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- docker_image
- - channel_targets
- is_rc
- - python
- numpy
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
blas_impl:
- generic
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- '12.6'
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
github_actions_labels:
- cirun-openstack-cpu-2xlarge
is_rc:
- 'False'
libabseil:
- '20240722'
libblas:
- 3.9.* *netlib
libcblas:
- 3.9.* *netlib
liblapack:
- 3.9.* *netlib
libprotobuf:
- 5.28.3
libtorch:
- '2.4'
megabuild:
- 'true'
mkl:
- '2024'
nccl:
- '2'
numpy:
- '2.0'
- '2.0'
- '2.0'
- '2'
- '2.0'
orc:
- 2.0.3
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.4'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- docker_image
- - channel_targets
- is_rc
- - python
- numpy
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
blas_impl:
- mkl
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- None
cuda_compiler_version:
- None
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
github_actions_labels:
- cirun-openstack-cpu-2xlarge
is_rc:
- 'False'
libabseil:
- '20240722'
libblas:
- 3.9.* *netlib
libcblas:
- 3.9.* *netlib
liblapack:
- 3.9.* *netlib
libprotobuf:
- 5.28.3
libtorch:
- '2.4'
megabuild:
- 'true'
mkl:
- '2024'
nccl:
- '2'
numpy:
- '2.0'
- '2.0'
- '2.0'
- '2'
- '2.0'
orc:
- 2.0.3
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.4'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- docker_image
- - channel_targets
- is_rc
- - python
- numpy
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
blas_impl:
- mkl
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- '12.6'
cudnn:
- '9'
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
github_actions_labels:
- cirun-openstack-cpu-2xlarge
is_rc:
- 'False'
libabseil:
- '20240722'
libblas:
- 3.9.* *netlib
libcblas:
- 3.9.* *netlib
liblapack:
- 3.9.* *netlib
libprotobuf:
- 5.28.3
libtorch:
- '2.4'
megabuild:
- 'true'
mkl:
- '2024'
nccl:
- '2'
numpy:
- '2.0'
- '2.0'
- '2.0'
- '2'
- '2.0'
orc:
- 2.0.3
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.12.* *_cpython
- 3.13.* *_cp313
- 3.9.* *_cpython
pytorch:
- '2.4'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- docker_image
- - channel_targets
- is_rc
- - python
- numpy
Loading
Loading