Buckets:

download
raw
1.55 kB
"""GPU management: allocation strategies, real-time monitoring and utility helpers.
Includes:
- GPU allocation with multiple strategies
- Real-time GPU monitoring with alerts
- Utility functions for GPU operations and memory estimation
Components:
- GPUAllocator: Smart GPU allocation and resource management
- GPUMonitor: Real-time monitoring with threshold alerts
- Utility functions: Memory estimation, device selection, etc.
Author: effGen Team
License: Apache-2.0
"""
from effgen.gpu import utils as gpu_utils
from effgen.gpu.allocator import (
Allocation,
AllocationRequest,
AllocationStrategy,
GPUAllocator,
GPUInfo,
ParallelismType,
)
from effgen.gpu.cuda_compat import (
CudaStatus,
cuda_usable,
driver_cuda_version,
get_cuda_status,
physical_gpu_count,
torch_cuda_version,
warn_cuda_mismatch_once,
)
from effgen.gpu.monitor import (
Alert,
AlertLevel,
GPUMetrics,
GPUMonitor,
MetricType,
MonitorConfig,
)
__all__ = [
# Allocator classes
"GPUAllocator",
"AllocationStrategy",
"ParallelismType",
"GPUInfo",
"AllocationRequest",
"Allocation",
# Monitor classes
"GPUMonitor",
"MonitorConfig",
"GPUMetrics",
"Alert",
"AlertLevel",
"MetricType",
# Utilities module
"gpu_utils",
# CUDA / driver compatibility
"CudaStatus",
"cuda_usable",
"get_cuda_status",
"physical_gpu_count",
"driver_cuda_version",
"torch_cuda_version",
"warn_cuda_mismatch_once",
]

Xet Storage Details

Size:
1.55 kB
·
Xet hash:
7c75c7734db37ff674bda2aedbae54b6852e8d1b4022a1f7bce37c5b9c90001a

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