Buckets:

download
raw
808 Bytes
from codecarbon.emissions_tracker import EmissionsTracker
if __name__ == "__main__":
tracker = EmissionsTracker(measure_power_secs=0, save_to_file=False)
print("Detected Hardware:")
hardware_info = tracker.get_detected_hardware()
print(f"- Available RAM: {hardware_info['ram_total_size']:.3f} GB")
print(
f"- CPU count: {hardware_info['cpu_count']} thread(s) in {hardware_info['cpu_physical_count']} physical CPU(s)"
)
print(f"- CPU model: {hardware_info['cpu_model']}")
print(f"- GPU count: {hardware_info['gpu_count']}")
gpu_model_str = hardware_info["gpu_model"]
if hardware_info.get("gpu_ids"):
gpu_model_str += (
f" BUT only tracking these GPU ids : {hardware_info['gpu_ids']}"
)
print(f"- GPU model: {gpu_model_str}")

Xet Storage Details

Size:
808 Bytes
·
Xet hash:
6caeadc17e05fdc68be2f5f347586b5f51c2babd5ba828af4208af98d1289a6d

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