Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
With image
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ def calculate_memory(model_name:str, library:str, options:list, access_token:str
|
|
| 115 |
with gr.Blocks() as demo:
|
| 116 |
with gr.Column():
|
| 117 |
gr.Markdown(
|
| 118 |
-
"""
|
| 119 |
|
| 120 |
This tool will help you calculate how much vRAM is needed to train and perform big model inference
|
| 121 |
on a model hosted on the π€ Hugging Face Hub. The minimum recommended vRAM needed for a model
|
|
|
|
| 115 |
with gr.Blocks() as demo:
|
| 116 |
with gr.Column():
|
| 117 |
gr.Markdown(
|
| 118 |
+
"""<img src="https://huggingface.co/spaces/hf-accelerate/model-memory-usage/resolve/main/measure_model_size.png" style="float: left;" width="250" height="250"><h1>π€ Model Memory Calculator</h1>
|
| 119 |
|
| 120 |
This tool will help you calculate how much vRAM is needed to train and perform big model inference
|
| 121 |
on a model hosted on the π€ Hugging Face Hub. The minimum recommended vRAM needed for a model
|