Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Unity-Technologies/ml-agents
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: release_23
Choose a base ref
...
head repository: Unity-Technologies/ml-agents
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 24 files changed
  • 7 contributors

Commits on Sep 16, 2025

  1. [Bugfix] Fix CUDA/CPU mismatch in threaded training (#6245)

    * Ensure tensors use default device in torch policy and utils
    
    ---------
    
    Co-authored-by: maryam-zia <[email protected]>
    bmind7 and maryamziaa authored Sep 16, 2025
    Configuration menu
    Copy the full SHA
    a83b3b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2025

  1. Fix visual observation tensor indexing for Unity inference. (#6239)

    This change corrects the tensor indexing calculation in TensorExtensions.Index()
    to properly support CHW (channels-height-width) format used by both Unity's
    observation writers and ONNX models during inference.
    pglagol authored Sep 17, 2025
    Configuration menu
    Copy the full SHA
    db4c207 View commit details
    Browse the repository at this point in the history
  2. Update Changelog and test (#6246)

    * Update Changelog
    
    * Update tests
    maryamziaa authored Sep 17, 2025
    Configuration menu
    Copy the full SHA
    d1147c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2025

  1. Add torch version constraint to be equal or less than 2.8.0 to preven…

    …t breaking onnx changes in torch 2.9.0 (#6251)
    
    * Pin torch version to 2.8.0 to prevent breaking onnx changes in 2.9.0
    
    The ` 2.9.0` version results in an issue finding `onnxscript`. Pinning the `2.8.0` prevent this error. 
    
    I'm not exactly of the exact root cause but it seems there were some backwards incompatible changes to onnx: https://github.com/pytorch/pytorch/releases/tag/v2.9.0#backwards-incompatible-changes.
    
    Stack trace on exiting training:
    ```
      File "C:\Users\Samuel\miniconda3\envs\mlagents\lib\site-packages\mlagents\trainers\torch_entities\model_serialization.py", line 164, in export_policy_model
        torch.onnx.export(
      File "C:\Users\Samuel\miniconda3\envs\mlagents\lib\site-packages\torch\onnx\__init__.py", line 282, in export
        from torch.onnx._internal.exporter import _compat
      File "C:\Users\Samuel\miniconda3\envs\mlagents\lib\site-packages\torch\onnx\_internal\exporter\_compat.py", line 16, in <module>
        from torch.onnx._internal.exporter import (
      File "C:\Users\Samuel\miniconda3\envs\mlagents\lib\site-packages\torch\onnx\_internal\exporter\_core.py", line 18, in <module>
        import onnxscript
    ModuleNotFoundError: No module named 'onnxscript'
    ```
    
    * Add torch version constraint to be equal or less than 2.8.0
    
    Previously commit forced only 2.8.0, however adding this constraint is a bit nicer, as I see in some of installation docs sometimes torch 2.2.0 is installed: https://github.com/Unity-Technologies/ml-agents/blob/release_22_docs/docs/Installation.md.
    
    * Update CHANGELOG.md
    samt1995 authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    631901b View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2025

  1. Update installation doc (#6242)

    * Update com.unity.ml-agents/Documentation~/Installation.md
    ---------
    
    Co-authored-by: manugaursharma <[email protected]>
    maryamziaa and manugaursharma authored Oct 30, 2025
    Configuration menu
    Copy the full SHA
    bc4d32e View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2025

  1. Bobd/codesign mac (#6259)

    * Test macos code signing for binaries
    * Adding dependency on signing job in pack
    Codengineer authored Nov 14, 2025
    Configuration menu
    Copy the full SHA
    f248e98 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2025

  1. Upgrade ML-Agents to 4.0.1 (#6269)

    * Upgrade Inference Engine to 4.1.1
    * Update inference engine dependencies
    * Update CHANGELOG.md
    * trunk test are unstable changing to 6.3 temporarily
    * Fixing issue #6268
    
    Co-authored-by: maryam-zia <[email protected]>
    Codengineer and maryamziaa authored Dec 19, 2025
    Configuration menu
    Copy the full SHA
    d24a865 View commit details
    Browse the repository at this point in the history
Loading