Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Feb 6, 2025
1 parent ba4f5a2 commit ca43f27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/actions/setup-binary-builds/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,10 @@ runs:
# For conda package host python version is irrelevant
export PYTHON_VERSION=3.13
export CONDA_EXTRA_PARAM=" python-freethreading -c conda-forge"
# Pin conda and conda-libmamba-solver for 3.13t build
if [[ "$(uname)" != Darwin ]]; then
# Pin conda and conda-libmamba-solver for 3.13t linux build
# this solver allows us to install anaconda dependencies on
# python-freethreading on conda-forge environment
conda install conda==24.7.1 conda-libmamba-solver=24.1.0
fi
fi
Expand Down
2 changes: 0 additions & 2 deletions tools/pkg-helpers/pytorch_pkg_helpers/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

def get_python_path_variables(python_version: str) -> List[str]:
t = ""
# For some reason python versions <= 3.7 require an m
# probably better not to ask why
if python_version.endswith('t'):
python_nodot = python_version[:-1].replace(".", "")
t = "t"
Expand Down
7 changes: 3 additions & 4 deletions tools/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,7 @@ def generate_wheels_matrix(
arches += [XPU]

if limit_pr_builds:
# todo: remove before merging
python_versions = [python_versions[-1]]
python_versions = [python_versions[0]]

global WHEEL_CONTAINER_IMAGES

Expand All @@ -477,8 +476,8 @@ def generate_wheels_matrix(
"" if arch_version in [CPU, CPU_AARCH64, XPU] else arch_version
)

# TODO: Enable python 3.13t on xpu and cpu-s390x or MacOS or Windows
if (gpu_arch_type in ["xpu", "cpu-s390x"]) and python_version == "3.13t":
# TODO: Enable python 3.13t on xpu and cpu-s390x or Windows
if ((gpu_arch_type in ["xpu", "cpu-s390x"]) or os == WINDOWS ) and python_version == "3.13t":
continue

desired_cuda = translate_desired_cuda(gpu_arch_type, gpu_arch_version)
Expand Down

0 comments on commit ca43f27

Please sign in to comment.