Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
freeze dataclass to better mirror the readonly nature of the C++ vers…
Browse files Browse the repository at this point in the history
…ion of the class
  • Loading branch information
LucasWilkinson committed Aug 1, 2024
1 parent 4dc605e commit a926e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/_core_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class NanRepr(Enum):

from dataclasses import dataclass

@dataclass
@dataclass(frozen=True)
class ScalarType:
"""
ScalarType can represent a wide range of floating point and integer
Expand Down

0 comments on commit a926e67

Please sign in to comment.