Skip to content

Commit

Permalink
[Fix] Fix CUDA compilation error (#98)
Browse files Browse the repository at this point in the history
This PR fixes the cuda compilation error.
  • Loading branch information
Ubospica authored Nov 25, 2024
1 parent bea9cbc commit 590eace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/json_schema_converter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ std::string JSONSchemaConverter::VisitInteger(
"exclusiveMaximum",
}
);
return "(\"0\" | \"-\"? [1-9] [0-9]*) \".0\"?";
return "(\"0\" | \"-\"? [1-9] [0-9]*)";
}

std::string JSONSchemaConverter::VisitNumber(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

_apply_token_bitmask_inplace_kernel = """
#include <cuda_fp16.h>
#include <cuda/std/cstdint>
#include <cuda/std/limits>
#define BITS_PER_BLOCK 32
Expand Down

0 comments on commit 590eace

Please sign in to comment.