Skip to content

setup_pytorch_env.bat called multiple times in windows CI, slowing it down #13465

@anderspapitto

Description

@anderspapitto

open up the full log from a test2 job, and search for setup_pytorch_env.bat - there are two occurences.

This is because in win-test.sh, we do

ci_scripts/test_python_all_except_nn.bat && ci_scripts/test_custom_script_ops.bat

and each of those runs the setup script at the top.

bonus points if the environment setup is split out in a way that's convenient for iterative debugging (i.e. rerun tests N times without reinstalling python packages N times)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions