Commit 11b6b7e4 authored by yuguo's avatar yuguo
Browse files

[DCU] fix bad alloc

parent 34ea55b9
......@@ -10,10 +10,10 @@ import os
import sys
from functools import wraps
import transformer_engine.pytorch as te
import torch
from torch import nn
import torch.distributed as dist
import transformer_engine.pytorch as te
import transformer_engine_torch as tex
from transformer_engine.common.recipe import (
MXFP8BlockScaling,
......
......@@ -53,7 +53,7 @@ def test_distributed(quantization):
if quantization == "fp8" and not fp8_available:
pytest.skip(reason_for_no_fp8)
if quantization == "fp8_cs" and not fp8_available:
pytest.skip(fp8_available)
pytest.skip(reason_for_no_fp8)
if quantization == "mxfp8" and not mxfp8_available:
pytest.skip(reason_for_no_mxfp8)
_run_test(quantization)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment