You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an Intel Integrated Graphics Card, you can install the `Intel Graphics Compute Runtime <https://github.com/intel/compute-runtime>`__ to enable inference on this device. The command for Ubuntu 20.04 is:
After you install it, follow the instructions from the Homebrew installation to set it up.
145
+
146
+
After you install it, follow the instructions from the Homebrew installation to set it up.
137
147
138
148
3. **Install Python and dependencies**
139
149
@@ -142,6 +152,8 @@ Installing prerequisites
142
152
brew install python@3.9
143
153
brew install protobuf
144
154
155
+
# optional but recommended
156
+
brew install ffmpeg
145
157
146
158
Run each step below in a terminal.
147
159
@@ -250,6 +262,56 @@ Installing prerequisites
250
262
CMD /tmp/scripts/run
251
263
252
264
265
+
.. tab-item:: Amazon SageMaker
266
+
:sync: amazon-sagemaker
267
+
268
+
.. note::
269
+
270
+
An `AWS <https://console.aws.amazon.com/console/home?nc2=h_ct&src=header-signin>`__
271
+
account and access to
272
+
`Amazon SageMaker Studio <https://aws.amazon.com/sagemaker/studio/>`__
273
+
are required.
274
+
275
+
1. **Log into your Amazon SageMaker Studio Environment and** ``Add user``.
276
+
277
+
|amazon-studio-1|
278
+
279
+
2. **Choose desired user profile name**
280
+
281
+
|amazon-studio-2|
282
+
283
+
3. **Choose Jupyter Lab version 3.0**
284
+
285
+
|amazon-studio-3|
286
+
287
+
4. **Choose the remaining default setting and click "Submit" to add a user.**
288
+
5. **Launch the Amazon SageMaker Studio environment.**
289
+
290
+
Click "Open Studio" to start the environment:
291
+
292
+
|amazon-studio-4|
293
+
294
+
.. note::
295
+
296
+
You are using an ``ml.t3.medium`` instance, which is for free for
297
+
250 hours per month for the first 2 months on Studio notebook.
298
+
299
+
6. **Wait for a couple of minutes for your environment to load.**
300
+
301
+
You should be able to see the following screen:
302
+
303
+
|amazon-studio-5|
304
+
305
+
7. **Select a SageMaker image.**
306
+
307
+
Choose ``Data Science 3.0`` in "Select a SageMaker image" drop-down under
308
+
"Notebooks and compute resources".
309
+
310
+
Then, click **+** on "Image Terminal" to start a terminal session:
311
+
312
+
|amazon-studio-6|
313
+
314
+
253
315
Installing notebooks
254
316
++++++++++++++++++++
255
317
@@ -294,6 +356,19 @@ Installing notebooks
294
356
295
357
pip install -r requirements.txt
296
358
359
+
360
+
.. important::
361
+
362
+
In case of problems with accessing HuggingFace in PRC, set-up the networking
363
+
environment before you launch the notebooks:
364
+
365
+
.. code-block::
366
+
367
+
pip install -U huggingface_hub
368
+
set HF_ENDPOINT = https://hf-mirror.com
369
+
370
+
For more information, visit `HF-Mirror HuggingFace <https://hf-mirror.com>`__.
371
+
297
372
.. tab-item:: Linux
298
373
:sync: linux
299
374
@@ -333,6 +408,18 @@ Installing notebooks
333
408
334
409
pip install -r requirements.txt
335
410
411
+
.. important::
412
+
413
+
In case of problems with accessing HuggingFace in PRC, set-up the networking
414
+
environment before you launch the notebooks:
415
+
416
+
.. code-block::
417
+
418
+
pip install -U huggingface_hub
419
+
set HF_ENDPOINT = https://hf-mirror.com
420
+
421
+
For more information, visit `HF-Mirror HuggingFace <https://hf-mirror.com>`__.
422
+
336
423
.. tab-item:: macOS
337
424
:sync: macos
338
425
@@ -475,6 +562,69 @@ Installing notebooks
475
562
While running the container on Windows and macOS, only CPU devices can be used. To access the iGPU, install the notebooks locally, following the instructions above.
0 commit comments