File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
include :
24
24
- name : SM-89
25
25
runs-on : amz2023.linux.g6.4xlarge.experimental.nvidia.gpu
26
- torch-spec : ' --pre torch==2.5.0.dev20240728+cu121 --index-url https://download.pytorch.org/whl/nightly/cu121'
27
26
gpu-arch-type : " cuda"
28
27
gpu-arch-version : " 12.1"
29
28
40
39
yum install -y devtoolset-10-binutils
41
40
export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
42
41
python -m pip install --upgrade pip
43
- pip install ${{ matrix. torch-spec }}
42
+ pip install torch
44
43
pip install -r dev-requirements.txt
45
44
pip install .
46
45
pytest test/float8 --verbose -s
Original file line number Diff line number Diff line change 37
37
)
38
38
39
39
is_H100 = torch .cuda .is_available () and torch .cuda .get_device_capability () >= (9 , 0 )
40
- if not is_H100 :
40
+ is_cuda_8_9 = torch .cuda .is_available () and torch .cuda .get_device_capability () >= (8 , 9 )
41
+ if not is_cuda_8_9 :
41
42
pytest .skip ("Unsupported CUDA device capability version" , allow_module_level = True )
42
43
43
44
class TestFloat8Common :
You can’t perform that action at this time.
0 commit comments