Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add note card to PyTorch mobile pages #1713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _mobile/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ order: 3
published: true
---

<div class="note-card">
<h4>Note</h4>
<p>PyTorch Mobile is no longer actively supported. Please check out <a href="/executorch-overview">ExecuTorch</a>, PyTorch’s all-new on-device inference library. </p>
</div>

# Android

## Quickstart with a HelloWorld Example
Expand Down
5 changes: 5 additions & 0 deletions _mobile/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ published: true
redirect_from: "/mobile/"
---

<div class="note-card">
<h4>Note</h4>
<p>PyTorch Mobile is no longer actively supported. Please check out <a href="/executorch-overview">ExecuTorch</a>, PyTorch’s all-new on-device inference library. </p>
</div>

# PyTorch Mobile

There is a growing need to execute ML models on edge devices to reduce latency, preserve privacy, and enable new interactive use cases.
Expand Down
5 changes: 5 additions & 0 deletions _mobile/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ order: 2
published: true
---

<div class="note-card">
<h4>Note</h4>
<p>PyTorch Mobile is no longer actively supported. Please check out <a href="/executorch-overview">ExecuTorch</a>, PyTorch’s all-new on-device inference library. </p>
</div>

# iOS

To get started with PyTorch on iOS, we recommend exploring the following [HelloWorld](https://github.com/pytorch/ios-demo-app/tree/master/HelloWorld).
Expand Down
31 changes: 31 additions & 0 deletions _sass/base_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,37 @@ a, .btn {
}
}

article.pytorch-article .note-card {
border-radius: 0;
border: none;
background-color: $orange;
color: white;
padding: 30px;
margin-bottom: 50px;

h4 {
font-size: 1.5rem;
letter-spacing: 1.33px;
line-height: 2rem;
text-transform: uppercase;
color: white;
margin-top: 0;
margin-bottom: rem(18px);
}

p {
font-size: rem(18px);
line-height: 1.5em;
margin-bottom: 0;
color: white;
a {
color: white;
font-weight: 700;
}
}

}

.ecosystem-card,
.resource-card,
.hub-card {
Expand Down