You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [CI] Add Apple M1 tests
* setup-python
* python build
* conda install
* remove branch
* only 3.8 is built for osx-arm
* try fetching prebuilt tokenizers
* use user cache
* update shells
* Reports and cleanup
* -> MPS
* Disable parallel tests
* Better naming
* investigate worker crash
* return xdist
* restart
* num_workers=2
* still crashing?
* faulthandler for segfaults
* faulthandler for segfaults
* remove restarts, stop on segfault
* torch version
* change installation order
* Use pre-RC version of PyTorch.
To be updated when it is released.
* Skip crashing test on MPS, add new one that works.
* Skip cuda tests in mps device.
* Actually use generator in test.
I think this was a typo.
* make style
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
description: Sets up miniconda in your ${RUNNER_TEMP} environment and gives you the ${CONDA_RUN} environment variable so you don't have to worry about polluting non-empeheral runners anymore
4
+
5
+
inputs:
6
+
python-version:
7
+
description: If set to any value, dont use sudo to clean the workspace
8
+
required: false
9
+
type: string
10
+
default: "3.9"
11
+
miniconda-version:
12
+
description: Miniconda version to install
13
+
required: false
14
+
type: string
15
+
default: "4.12.0"
16
+
environment-file:
17
+
description: Environment file to install dependencies from
18
+
required: false
19
+
type: string
20
+
default: ""
21
+
22
+
runs:
23
+
using: composite
24
+
steps:
25
+
# Use the same trick from https://github.com/marketplace/actions/setup-miniconda
26
+
# to refresh the cache daily. This is kind of optional though
if [ "$AVAIL" -lt "$MINIMUM_AVAILABLE_SPACE_IN_KB" ]; then
140
+
echo "There is only ${AVAIL}KB free space left in $MOUNT, which is less than the minimum requirement of ${MINIMUM_AVAILABLE_SPACE_IN_KB}KB. Please help create an issue to PyTorch Release Engineering via https://github.com/pytorch/test-infra/issues and provide the link to the workflow run."
141
+
exit 1;
142
+
else
143
+
echo "There is ${AVAIL}KB free space left in $MOUNT, continue"
0 commit comments