Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#578 Feature/sg 516 support head replacement for local pretrained weights unknown dataset

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-516_support_head_replacement_for_local_pretrained_weights_unknown_dataset
1
2
3
4
5
6
  1. import psutil
  2. def get_cpu_percent() -> float:
  3. """Average of all the CPU utilization."""
  4. return psutil.cpu_percent(interval=None, percpu=False)
Discard
Tip!

Press p or to see the previous file or, n or to see the next file