Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -143,9 +143,9 @@ provisioned in the cloud. Once the job is submitted, you can navigate to a
|
|
143 |
provided job URL to view a variety of on-device performance metrics.
|
144 |
```python
|
145 |
profile_job = hub.submit_profile_job(
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
|
150 |
```
|
151 |
|
@@ -156,10 +156,10 @@ on sample input data on the same cloud hosted device.
|
|
156 |
```python
|
157 |
input_data = torch_model.sample_inputs()
|
158 |
inference_job = hub.submit_inference_job(
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
on_device_output = inference_job.download_output_data()
|
164 |
|
165 |
```
|
|
|
143 |
provided job URL to view a variety of on-device performance metrics.
|
144 |
```python
|
145 |
profile_job = hub.submit_profile_job(
|
146 |
+
model=target_model,
|
147 |
+
device=device,
|
148 |
+
)
|
149 |
|
150 |
```
|
151 |
|
|
|
156 |
```python
|
157 |
input_data = torch_model.sample_inputs()
|
158 |
inference_job = hub.submit_inference_job(
|
159 |
+
model=target_model,
|
160 |
+
device=device,
|
161 |
+
inputs=input_data,
|
162 |
+
)
|
163 |
on_device_output = inference_job.download_output_data()
|
164 |
|
165 |
```
|