Skip to content

Add Float8Tensor #2463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/1xH100_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
include:
- name: H100
runs-on: linux.aws.h100
torch-spec: '--pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu126'
torch-spec: '--pre torch torchvision torchaudio fbgemm-gpu-genai --index-url https://download.pytorch.org/whl/nightly/cu126'
gpu-arch-type: "cuda"
gpu-arch-version: "12.4"
permissions:
id-token: write
contents: read
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
with:
timeout: 60
timeout: 90
runner: ${{ matrix.runs-on }}
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
Expand All @@ -46,8 +46,8 @@ jobs:
pip install uv
pip install ${{ matrix.torch-spec }}
uv pip install -r dev-requirements.txt
uv pip install vllm
pip install .
pytest test/integration --verbose -s
pytest test/dtypes/test_affine_quantized_float.py --verbose -s
python test/quantization/quantize_/workflows/float8/test_float8_tensor.py
./test/float8/test_everything_single_gpu.sh
2 changes: 1 addition & 1 deletion .github/workflows/1xL4_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
pip install uv
pip install ${{ matrix.torch-spec }}
uv pip install -r dev-requirements.txt
uv pip install vllm
pip install .
pytest test/integration --verbose -s
pytest test/dtypes/test_affine_quantized_float.py --verbose -s
./test/float8/test_everything_single_gpu.sh
python test/quantization/quantize_/workflows/float8/test_float8_tensor.py
1 change: 1 addition & 0 deletions test/dtypes/test_affine_quantized_float.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ def test_expected_kernels_on_gpu(self, granularity, torch_compile_mode):
Verify that float8 quantization + torch.compile results in the
expected number of kernels in the GPU trace.
"""
torch.compiler.reset()

M, K, N = 128, 256, 512
m = torch.nn.Sequential(
Expand Down
153 changes: 0 additions & 153 deletions test/dtypes/test_fbgemm_fp8.py

This file was deleted.

Loading
Loading