diff --git a/Playground/sanity-check-pytorch.ipynb b/Playground/sanity-check-pytorch.ipynb new file mode 100644 index 0000000..2ca5105 --- /dev/null +++ b/Playground/sanity-check-pytorch.ipynb @@ -0,0 +1,48 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 5, + "id": "dd23cc94", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Current detected architecture is: xpu\n" + ] + } + ], + "source": [ + "import torch\n", + "from Project_Model.Libs.TorchShims import get_default_device\n", + "\n", + "DEVICE = get_default_device()\n", + "\n", + "print(f\"Current detected architecture is: {DEVICE.type}\")" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "deep_learning", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.13.7" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}