leideng/QCFuse / srt /compilation /compilation_config.py
leideng's picture
download
raw
617 Bytes
# Adapted from https://github.com/vllm-project/vllm/blob/v0.10.0/vllm/compilation/compilation_config.py
from typing import List
# TODO(Yuwei): support better compile config support
class CompilationConfig:
def __init__(self, capture_sizes: List[int], compiler: str = "eager"):
self.traced_files = set()
self.capture_sizes = capture_sizes
self.compiler = compiler
def add_traced_file(self, file_path: str):
self.traced_files.add(file_path)
def get_traced_files(self):
return self.traced_files
def get_capture_sizes(self):
return self.capture_sizes

Xet Storage Details

Size:
617 Bytes
·
Xet hash:
9b6f401d0047480ad43d5040794c739a3ed9ae1e017232234ca8c11fa531e05f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.