Gaudi2 on Intel® Developer Cloud | Intel Software

Subscribers:
257,000
Published on ● Video Link: https://www.youtube.com/watch?v=qxQFus-Qxpw



Duration: 2:55
129,459 views
30


Gaudi2 the powerful AI accelerator , on the Intel developer cloud in a few minutes.

The simplest way to get started on a Gaudi2 machine, or an 8 Cards machine.

0. Get a machine (cloud.intel.com)

1. Run the Habana Docker image:
docker run -it --runtime=habana -e HABANA_VISIBLE_DEVICES=all -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --net=host --ipc=host vault.habana.ai/gaudi-docker/1.11.0/ubuntu20.04/habanalabs/pytorch-installer-2.0.1:latest

2. Clone the Model References repository :
git clone https://github.com/HabanaAI/Model-References.git

3. Goto hello-world example:
cd Model-References/PyTorch/examples/computer_vision/hello_world/

4. Update Python path
export PYTHONPATH=$PYTHONPATH:Model-References
export PYTHON=/usr/bin/python3.8

5. Run training on 1 card:
PYTHON mnist.py --batch-size=64 --epochs=1 --lr=1.0 \
--gamma=0.7 --hpu --hmp \
--hmp-bf16=ops_bf16_mnist.txt \
--hmp-fp32=ops_fp32_mnist.txt \

6. Run training on 8 cards:
mpirun -n 8 --bind-to core --map-by slot:PE=6 \
--rank-by core --report-bindings \
--allow-run-as-root \
$PYTHON mnist.py \
--batch-size=64 --epochs=1 \
--lr=1.0 --gamma=0.7 \
--hpu --hmp --hmp-bf16=ops_bf16_mnist.txt \
--hmp-fp32=ops_fp32_mnist.txt \"

Habana AI Model-References: https://bit.ly/3R8TuHX

Intel® Developer Cloud: https://bit.ly/3FhVYxe

Habana - Intel® Developer Cloud: https://bit.ly/46qzGo1

About Intel Software:
Intel® Developer Zone is committed to empowering and assisting software developers in creating applications for Intel hardware and software products. The Intel Software YouTube channel is an excellent resource for those seeking to enhance their knowledge. Our channel provides the latest news, helpful tips, and engaging product demos from Intel and our numerous industry partners. Our videos cover various topics; you can explore them further by following the links.

Connect with Intel Software:
INTEL SOFTWARE WEBSITE: https://intel.ly/2KeP1hD
INTEL SOFTWARE on FACEBOOK: http://bit.ly/2z8MPFF
INTEL SOFTWARE on TWITTER: http://bit.ly/2zahGSn
INTEL SOFTWARE GITHUB: http://bit.ly/2zaih6z
INTEL DEVELOPER ZONE LINKEDIN: http://bit.ly/2z979qs
INTEL DEVELOPER ZONE INSTAGRAM: http://bit.ly/2z9Xsby
INTEL GAME DEV TWITCH: http://bit.ly/2BkNshu

#intel #intelsoftware #oneapi

Gaudi2 on Intel® Developer Cloud | Intel Software




Other Videos By Intel Software


2023-12-06Accelerating LLMs and Multi-Modal Models | SC23 Demo | Intel Software
2023-12-06We Invited Elite Hackers to Break our SaaS Product | Intel Software
2023-12-06Intel® XPU Manager (Modern Telemetry to Intel® GPUs and More) | Intel Software
2023-12-05Automated Self-Checkout Edge AI Reference Kit | Intel Software
2023-12-05Code Demo | Automated Self-Checkout Edge AI Reference Kit | Intel Software
2023-11-28Uncovering Insights from Listeners' Top Voices in Sustainability 2023 | InTechnology Podcast
2023-11-25November 2023 | oneAPI Dev News
2023-11-24Building Your Stream Library | Intel® Graphics Performance Analyzers Framework Quick Tips
2023-11-24November 2023 | oneAPI Dev News | Intel Software
2023-11-24Build Your Stream Library | Intel® Graphics Performance Analyzers Framework Quick Tips
2023-11-22Gaudi2 on Intel® Developer Cloud | Intel Software
2023-11-21Elevate Your Teaching with the Educator Program for oneAPI | Intel Software
2023-11-21Gaudi2 Running Hugging-Face on Intel® Developer Cloud | Intel Software
2023-11-20Get Started with Generative AI Essentials on the Intel® Developer Cloud | Intel Software
2023-11-17Dig Into the Stable Diffusion Image to Image Jupyter Notebook on the Intel® Developer Cloud!
2023-11-16AI workload Acceleration with Intel® Extension for TensorFlow* | Intel Software
2023-11-15Go Hands-on with the LLM Inference Jupyter Notebook on the Intel® Developer Cloud | Intel Software
2023-11-14OpenVINO™ Model Server on Intel® Developer Cloud | Intel Software
2023-11-14Train a CNN Model on Multiple Intel® Arc™ GPUs | Intel Software
2023-11-13Try the Stable Diffusion Text to Image Jupyter Notebook on the Intel® Developer Cloud!
2023-11-01Get Started with Multimodal AI Disease Prediction | Intel Software



Tags:
Intel Developer Zone
IDZ
Intel Software
Software Developer
Developer Tools
Software Tools
Developer
Intel