Skip to content

Add settings to make training results deterministic #1586

Add settings to make training results deterministic

Add settings to make training results deterministic #1586

Workflow file for this run

# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
name: Build PIP Wheel
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'apps/**'
- 'VERSION'
- 'source/**'
- 'tools/wheel_builder/**'
- '.github/workflows/wheel.yml'
push:
branches:
- main
- develop
- 'release/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-wheel:
name: Build Wheel
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 1
lfs: true
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
architecture: x64
# Compose Docker-image-style metadata for the artifact. The artifact
# name is what QA sees in `gh run download`, so we make it scannable:
# isaaclab-<VERSION>-build<RUN_NUMBER>-<SHA7>. The wheel inside follows
# PEP 440 (VERSION+buildN.SHA7) since pip requires that format.
- name: Compute wheel metadata
id: meta
run: |
set -euo pipefail
version=$(cat VERSION)
sha_slug="${GITHUB_SHA:0:7}"
echo "artifact_name=isaaclab-${version}-build${{ github.run_number }}-${sha_slug}" >> "$GITHUB_OUTPUT"
- name: Build wheel
env:
WHEEL_BUILD_NUMBER: ${{ github.run_number }}
WHEEL_SHA: ${{ github.sha }}
run: bash tools/wheel_builder/build.sh
- name: Upload wheel artifact
uses: actions/upload-artifact@v7
with:
name: ${{ steps.meta.outputs.artifact_name }}
path: tools/wheel_builder/build/dist/isaaclab-*.whl
if-no-files-found: error
retention-days: 30