Pytorch
The PyTorch icon represents PyTorch, an open-source machine learning library developed by Facebook.
Exports at 97 × 24 px
Code
Pytorch in your framework
In any framework. Customize it above, and the code follows.
export const PytorchIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="97" height="24" viewBox="0 0 512 127" {...props}>
<path fill="#EE4C2C" d="M38.455 1.681v13.554L17.63 36.06c-10.9 11.054-10.898 28.836.003 40.091l.334.339c11.137 11.347 29.419 11.347 40.766 0c11.234-11.026 11.347-29.054.337-40.424l-.337-.343l6.935-6.934c15.13 15.13 15.13 39.4 0 54.636c-14.815 15.13-39.19 15.13-54.32 0c-14.98-14.979-15.129-39.02-.45-54.18l.45-.456zm13.66 15.34a5.043 5.043 0 1 1 0 10.087a5.043 5.043 0 0 1 0-10.087"/><path d="M135.749 63.462h-11.663v29.944h-8.826V8.196h21.434c22.156 0 32.882 10.812 33.094 26.015l.003.462c.315 19.017-12.923 28.789-34.042 28.789m1.42-46.754l-12.768-.002v39.19l11.978-.315q1.447-.028 2.815-.121l.903-.07l.886-.084l.868-.098c12.595-1.555 19.43-7.835 19.43-19.485c0-12.273-8.649-18.883-24.111-19.015m48.803 14.497l19.542 51.484l19.228-51.484h8.826l-24.271 61.886l-5.043 13.554l-.383 1.004l-.384.971l-.386.94l-.387.91l-.388.878q-.195.43-.39.848l-.392.818a43 43 0 0 1-2.399 4.304l-.409.62c-3.695 5.468-7.762 7.72-12.693 8.165l-.552.042a23 23 0 0 1-1.41.043c-4.161 0-7.346-.977-10.628-2.285l-.898-.365l-.452-.187l2.521-7.88c2.837 1.576 5.99 2.836 9.456 2.836h.186l.369-.012l.182-.01l.36-.028a8.2 8.2 0 0 0 2.084-.466l.336-.134a8 8 0 0 0 .665-.322l.33-.19a9.4 9.4 0 0 0 1.627-1.272l.323-.324c.863-.895 1.726-2.057 2.612-3.548l.333-.575q.168-.296.336-.607l.339-.639l.342-.672l.172-.349l.347-.723l.35-.76q.177-.387.355-.794l.358-.83l.181-.43l.366-.888l.37-.926l4.099-11.032l-24.271-61.57zm131.966-1.786c17.652 0 29.945 12.924 29.945 32.782c-.316 19.858-13.554 33.096-30.89 33.096c-17.337 0-29.945-12.923-29.945-32.781s13.238-33.097 30.89-33.097M292.091 8.511v8.195h-29.734V93.72h-8.826V16.706h-29.945V8.51zm25.217 28.788c-13.239 0-21.75 10.402-21.75 25.217c0 15.13 8.826 25.532 22.065 25.532c13.238 0 21.75-10.402 21.75-25.217c0-15.445-8.827-25.532-22.065-25.532M369 93.721h-8.51V31.205l8.51-1.89v13.238c4.098-7.88 10.087-13.239 18.282-13.239c4.098 0 7.88 1.261 11.033 2.837l-2.207 7.88c-2.837-1.576-5.989-2.837-9.456-2.837c-6.62 0-12.608 5.044-17.652 16.076zm62.516 1.576c-18.912 0-30.575-13.554-30.575-32.781c0-19.543 12.924-33.097 30.575-33.097c7.565 0 14.185 1.891 19.543 5.359l-2.206 7.565c-4.728-3.152-10.717-5.044-17.337-5.044c-13.554 0-21.749 10.087-21.749 24.902c0 15.13 8.826 25.216 22.065 25.216c6.304 0 12.608-1.891 17.336-5.043l1.891 7.88c-5.674 3.152-12.293 5.043-19.543 5.043m71.657-1.47V53.27c0-11.032-4.413-15.76-13.238-15.76c-7.25 0-14.185 3.782-19.228 8.825v47.386h-8.51V1.891L470.707 0v39.506c6.62-6.62 14.815-9.772 21.75-9.772c11.977 0 19.542 7.88 19.542 21.434v42.658z"/>
</svg>
);Other libraries
Pytorch in 2 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Pytorch is tagged software, AI, machine learning and 3 more. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Pytorch or any of 2,063 SVG Logos icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Pytorch icon means and where it's used, then how to install, style, label and license it.
The PyTorch icon represents PyTorch, an open-source machine learning library developed by Facebook. PyTorch is known for its dynamic computation graph and is widely used in various AI and deep learning applications. The PyTorch icon symbolizes the library's focus on rapid prototyping and research.
PyTorch has various real-world applications in computer vision, natural language processing, and robotics. For example, PyTorch can be used to build image classification models, natural language processing systems, and reinforcement learning agents. Tools like PyTorch's official website and documentation provide resources for developers to learn and use PyTorch.
From a UX perspective, the PyTorch icon effectively communicates the library's association with machine learning and AI research. The icon's presence can help users quickly identify PyTorch as a viable option for building and training machine learning models, making it easier for them to explore and utilize the library.
Pytorch is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 512 × 127 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds PytorchIcon to components/icons/logos-pytorch.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed PytorchIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Pytorch icon, or any of 2,063 SVG Logos icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 127 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Pytorch", so screen readers say what it does.
Yes. PytorchIcon passes every SVG prop to the svg element, so <PytorchIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Pytorch. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are software, AI, machine learning, python, artificial-intelligence and deep learning. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Pytorch in another set.
4.9 out of 5 from 150+ developers
Install Pytorch from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro