Skip to content

Commit

Permalink
Fixed the new condition for fp8 type (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
gshtras authored Dec 18, 2024
1 parent d9fed26 commit 27f53a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/dispatch_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
AT_DISPATCH_SWITCH(TYPE, NAME, VLLM_DISPATCH_CASE_FLOATING_TYPES(__VA_ARGS__))

// TODO(luka/varun): use FP8_TYPE macro after refactoring
#ifndef USE_ROCM
#ifdef USE_CUDA_FP8_FORMAT
#define VLLM_DISPATCH_CASE_QUANT_TYPES(...) \
AT_DISPATCH_CASE(at::ScalarType::Float8_e4m3fn, __VA_ARGS__) \
AT_DISPATCH_CASE(at::ScalarType::Char, __VA_ARGS__)
Expand Down

0 comments on commit 27f53a2

Please sign in to comment.