Skip to content
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

Add accelerators to quick start table #1596

Open
wants to merge 33 commits into
base: site
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2d89e7d
add accelerators to quick start table
aradys Mar 29, 2024
9734505
Merge branch 'site' into accelerators_table
aradys Apr 2, 2024
a1b7d4c
fix switching commands
aradys Apr 2, 2024
a386fc3
add Intel Xeon
aradys Apr 2, 2024
6ca1f8f
remove not used changes
aradys Apr 2, 2024
1eb326a
remove unused changes
aradys Apr 2, 2024
bb859f2
fix styling
aradys Apr 2, 2024
b7bb557
Merge branch 'site' into accelerators_table
aradys Apr 3, 2024
ad732dc
disable accelerator unsupported on OS
aradys Apr 4, 2024
cd56f91
update commands
aradys Apr 4, 2024
15f262b
update Intel Xeon command
aradys Apr 4, 2024
ba75346
Merge branch 'site' into accelerators_table
aradys Apr 5, 2024
1876d31
Merge branch 'site' into accelerators_table
aradys Apr 8, 2024
05e1451
Intel Extension for PyTorch
aradys Apr 8, 2024
84f4f49
Intel Extension for PyTorch2
aradys Apr 8, 2024
cadb3d5
fix styling
aradys Apr 8, 2024
318af79
update styling
aradys Apr 8, 2024
8fb8ad2
Merge branch 'site' into accelerators_table
aradys Apr 9, 2024
2e5e17f
fix styling
aradys Apr 9, 2024
54c9644
update IPEX GPU commands
aradys Apr 10, 2024
631cbd0
add previous versions
aradys Apr 10, 2024
1a372be
update commands
aradys Apr 10, 2024
d21d81c
fix formatting
aradys Apr 11, 2024
b08bf8f
Merge branch 'site' into accelerators_table
aradys Apr 15, 2024
c218598
Merge branch 'site' into accelerators_table
aradys Apr 17, 2024
52c86d0
Merge branch 'site' into accelerators_table
aradys Apr 22, 2024
ca581d8
Merge branch 'site' into accelerators_table
aradys Apr 25, 2024
04fec52
update command
aradys Apr 25, 2024
0af2361
Merge branch 'site' into accelerators_table
aradys Apr 26, 2024
dfc4398
Merge branch 'site' into accelerators_table
aradys May 8, 2024
3914f45
Merge branch 'site' into accelerators_table
aradys May 13, 2024
11015c2
Merge branch 'site' into accelerators_table
aradys May 16, 2024
fbe96ad
Merge branch 'site' into accelerators_table
aradys May 22, 2024
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
6 changes: 6 additions & 0 deletions _get_started/previous-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https
pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121
# CPU only
pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cpu
# Intel Gaudi
wget https: //vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz
tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz
pip install *.whl
```

### v2.1.2
Expand Down Expand Up @@ -273,6 +277,8 @@ pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https
pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu121
# CPU only
pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cpu
# GPU - Intel Extension for PyTorch
pip3 install torch==2.1.0.post0 torchvision==0.16.0.post0 torchaudio==2.1.0.post0 intel-extension-for-pytorch==2.1.20+xpu oneccl_bind_pt==2.1.200+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
```

### v2.0.1
Expand Down
29 changes: 25 additions & 4 deletions _includes/quick_start_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,39 @@
<div class="col-md-12 title-block mobile-heading">
<div class="option-text">Compute Platform</div>
</div>
<div class="col-md-3 option block version" id="cuda.x">
<div class="w20 option block version" id="cuda.x">
<div class="option-text">CUDA 11.6</div>
</div>
<div class="col-md-3 option block version" id="cuda.y">
<div class="w20 option block version" id="cuda.y">
<div class="option-text">CUDA 11.7</div>
</div>
<div class="col-md-3 option block version" id="rocm5.x">
<div class="w20 option block version" id="rocm5.x">
<div class="option-text">ROCm 5.2</div>
</div>
<div class="col-md-3 option block version" id="accnone">
<div class="w20 option block version" id="accnone">
<div class="option-text">CPU</div>
</div>
<div class="w20 flex1 option block version" id="accelerators">
<div data-toggle="resources-dropdown" class="main-menu main-menu-item">
<div class="resources-dropdown">
<a class="option-text resource-option" id="accelerator">
Accelerators
</a>
<img class="acc-arrow" src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
<div class="resources-dropdown-menu">
<a class="dropdown-item" id="huaweiascend" onclick="chooseAccelerator('Huawei Ascend')">
<span class="dropdown-title">Huawei Ascend</span>
</a>
<a class="dropdown-item" id="intelextensionforpytorch" onclick="chooseAccelerator('Intel Extension for PyTorch')">
<span class="dropdown-title">Intel Extension for PyTorch</span>
</a>
<a class="dropdown-item" id="intelgaudi" onclick="chooseAccelerator('Intel Gaudi')">
<span class="dropdown-title">Intel Gaudi</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 title-block command-mobile-heading">
Expand Down
29 changes: 27 additions & 2 deletions _sass/quick-start-module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,31 @@
left: 0;
}

.row.cuda {
justify-content: space-evenly;
}

.w20 {
padding: 0 15px;
flex: 1;
}

.flex1{
flex: 2;
}

.acc-arrow {
float: right;
position: absolute;
margin-top: 8px;
margin-left: 5px;
}

.resources-dropdown-menu {
width: 300px;
left: 400px;
}

#command {
color: #4a4a4a;
background-color: $white;
Expand Down Expand Up @@ -341,7 +366,7 @@
color: $not_quite_black;

#microsoft-azure {
p{
p {
color: $not_quite_black;
margin: 0;
padding: 0;
Expand Down Expand Up @@ -370,7 +395,7 @@

li {
margin-top: 0;
position:relative;
position: relative;
padding-left: rem(80px);

@include small-desktop {
Expand Down
Loading