|
15 | 15 | - 'yes' |
16 | 16 | - 'no' |
17 | 17 |
|
18 | | - |
19 | | -# jobs: |
20 | | - # build-xla-gpu-and-test: |
21 | | - # runs-on: linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner |
22 | | - # container: |
23 | | - # image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest" |
24 | | - # options: --gpus all --privileged # Might need privileged mode, use with caution |
25 | | - |
26 | | - # steps: |
27 | | - # # - name: Checkout XLA |
28 | | - # # uses: actions/checkout@v3 |
29 | | - # # with: |
30 | | - # # repository: openxla/xla # Replace with your fork if needed |
31 | | - # - name: Checkout repository |
32 | | - # uses: actions/checkout@v3 |
33 | | - # with: |
34 | | - # repository: juliagmt-google/xla |
35 | | - # ref: dev |
36 | | - # - name: Print machine specs |
37 | | - # run: | |
38 | | - # lscpu |
39 | | - # free -h # Memory information |
40 | | - # df -h # Disk space information |
41 | | - # uname -a # Kernel information |
42 | | - |
43 | | - # - name: Create results directory |
44 | | - # working-directory: xla |
45 | | - # run: mkdir results |
46 | | - |
47 | | - |
48 | | - # - name: Wait For Connection |
49 | | - # uses: google-ml-infra/actions/ci_connection@main |
50 | | - # with: |
51 | | - # halt-dispatch-input: ${{ inputs.halt-for-connection }} |
52 | | - |
53 | | - |
54 | 18 | jobs: |
55 | 19 | Tests: |
56 | 20 | strategy: |
@@ -84,24 +48,23 @@ jobs: |
84 | 48 | df -h # Disk space information |
85 | 49 | uname -a # Kernel information |
86 | 50 | |
87 | | - - name: Check Python Version in Container |
88 | | - run: python3 --version |
| 51 | + # - name: Check Python Version in Container |
| 52 | + # run: python3 --version |
89 | 53 |
|
90 | | - - name: Install Python 3.10 if not present (IN CONTAINER) |
91 | | - run: | |
92 | | - if ! python3 --version > /dev/null 2>&1; then # check for python3 |
93 | | - echo "Python 3 not found, installing..." |
94 | | - apt-get update |
95 | | - apt-get install -y python3.10 python3-pip |
96 | | - else |
97 | | - echo "Python 3 found." |
98 | | - fi |
| 54 | + # - name: Install Python 3.10 if not present (IN CONTAINER) |
| 55 | + # run: | |
| 56 | + # if ! python3 --version > /dev/null 2>&1; then # check for python3 |
| 57 | + # echo "Python 3 not found, installing..." |
| 58 | + # apt-get update |
| 59 | + # apt-get install -y python3.10 python3-pip |
| 60 | + # else |
| 61 | + # echo "Python 3 found." |
| 62 | + # fi |
99 | 63 |
|
100 | 64 | - name: Checkout OpenXLA |
101 | 65 | uses: actions/checkout@v3 |
102 | 66 | with: |
103 | 67 | repository: openxla/xla |
104 | | - ref: dev # Specify the dev branch |
105 | 68 |
|
106 | 69 | - name: Create results directory |
107 | 70 | working-directory: xla |
|
120 | 83 | # run: | |
121 | 84 | # bash run.sh | tee -a ../../../../../../results/flax_2b.log |
122 | 85 |
|
123 | | - TODO(juliagmt): Re-enable once the build is fixed. |
| 86 | + # TODO(juliagmt): Re-enable once the build is fixed. |
124 | 87 | - name: Build run_hlo_module |
125 | 88 | working-directory: xla |
126 | 89 | run: bazel build -c opt --dynamic_mode=off //xla/tools:run_hlo_module |
@@ -168,7 +131,6 @@ jobs: |
168 | 131 | with: |
169 | 132 | name: cpu-xla-benchmarks-${{ matrix.job_info.os }} |
170 | 133 | path: xla/results |
171 | | - |
172 | 134 | # build-xla-gpu-and-test: |
173 | 135 | # runs-on: "linux-x86-n2-16" #linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner |
174 | 136 | # container: |
|
0 commit comments