Skip to content

Patch 13 #3

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 1,380 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1380 commits
Select commit Hold shift + click to select a range
be9e471
Update sample.json
jimmytwei Jan 18, 2024
dee3c2d
Update sample.json
jimmytwei Jan 18, 2024
8d9e26c
Update sample.json
jimmytwei Jan 18, 2024
cba0e4b
Fix jsons (#2140)
whitepau Jan 18, 2024
5f3266a
Update sample.json
jimmytwei Jan 19, 2024
b658430
Update sample.json
jimmytwei Jan 19, 2024
a924260
Update sample.json
jimmytwei Jan 19, 2024
e361e79
Fix ONSAM-1677 due to incorrect path in sample.json files (#2141)
zma2 Jan 19, 2024
4ae428f
Add default input values for stream-triad-modified-*.cpp and spec-con…
zma2 Jan 22, 2024
d8bc0d8
Updated README.md with single precision option for batched_linear_sol…
Jan 22, 2024
920e25d
Initial commit (#2120)
shuoniu-intel Jan 23, 2024
071dfaf
Fix ONSAM-1799 (#2144)
zma2 Jan 24, 2024
9358c95
Update sample.json
jimmytwei Jan 24, 2024
a394139
fix for Jira ONSAM-1819 (#2148)
praveenkk123 Jan 24, 2024
a9102a0
Revert "Initial commit (#2120)" (#2149)
shuoniu-intel Jan 24, 2024
01d32f0
Update README.md
jimmytwei Jan 24, 2024
4541c56
Update joint-matrix.cpp
jimmytwei Jan 24, 2024
209b0de
Update iso3dfd.vcxproj
jimmytwei Jan 24, 2024
c529309
Update get_dependencies.sh
jimmytwei Jan 24, 2024
4b8410a
ONSAM-1817 AI-KIT IntelPytorch_Interactive_Chat_Quantization sample f…
krzeszew Jan 25, 2024
392da9e
Update get_dependencies.sh
jimmytwei Jan 25, 2024
d8ea518
Update sample.json
ishaghosh27 Jan 25, 2024
3e17f49
Updated category in sample.json
ishaghosh27 Jan 25, 2024
b7d5de7
Updated category in sample.json
ishaghosh27 Jan 25, 2024
9782dc3
Updated category in sample.json
ishaghosh27 Jan 25, 2024
74e3520
Updated category in sample.json
ishaghosh27 Jan 25, 2024
379550b
Updated category in sample.json
ishaghosh27 Jan 25, 2024
d518f13
Updated category in sample.json
ishaghosh27 Jan 25, 2024
7447e7a
Updated category in sample.json
ishaghosh27 Jan 25, 2024
046225e
Updated category in sample.json
ishaghosh27 Jan 25, 2024
29f2a6f
Updated category in sample.json
ishaghosh27 Jan 25, 2024
34389e6
Updated category in sample.json
ishaghosh27 Jan 25, 2024
eb0b355
Updated category in sample.json
ishaghosh27 Jan 25, 2024
dda902b
Updated category in sample.json
ishaghosh27 Jan 25, 2024
59d2ad7
Updated category in sample.json
ishaghosh27 Jan 25, 2024
33ee05f
Updated category in sample.json
ishaghosh27 Jan 25, 2024
457f031
Updated category in sample.json
ishaghosh27 Jan 25, 2024
525de66
Updated category in sample.json
ishaghosh27 Jan 25, 2024
830f85a
Updated category in sample.json
ishaghosh27 Jan 25, 2024
368c843
Updated category in sample.json
ishaghosh27 Jan 25, 2024
2788754
Updated category in sample.json
ishaghosh27 Jan 25, 2024
0cf7798
Updated category in sample.json
ishaghosh27 Jan 25, 2024
c58c7b0
Updated category in sample.json
ishaghosh27 Jan 25, 2024
7b90a88
Updated category in sample.json
ishaghosh27 Jan 25, 2024
3ed5280
[IRTK fix]: macos vklsample validation for setvars env only (#2156)
MichaelRCarroll-Intel Jan 25, 2024
346cc3d
Update requirements.txt
jimmytwei Jan 26, 2024
2dd10e2
Update README.md
jimmytwei Jan 26, 2024
2e5cabb
FPGA: Add code sample `annotated_class_clean_coding` (#2146)
wangdi4 Jan 26, 2024
0354a9a
FPGA: Add `annotated_ptr` code sample (#2145)
wangdi4 Jan 26, 2024
3b04897
Update get_dependencies.sh
jimmytwei Jan 26, 2024
06787dd
Update sample.json
jimmytwei Jan 26, 2024
9601c9f
Update sample.json
jimmytwei Jan 26, 2024
97d855a
Update sample.json
jimmytwei Jan 26, 2024
7e15e8b
Update sample.json
jimmytwei Jan 26, 2024
1fa42e8
Update sample.json
jimmytwei Jan 26, 2024
25a2f9c
fix for Jiras ONSAM-1823 and ONSAM-1819. (#2158)
praveenkk123 Jan 26, 2024
731ef67
FPGA: Add 2D Convolution Reference Design (#2157)
whitepau Jan 29, 2024
752b4f5
ONSAM-1820 AI-KIT IntelTensorFlow_ModelZoo_Inference_with_FP32_Int8 s…
krzeszew Jan 29, 2024
c7a1d03
[oneDNN][profile_utils.py] fix parse error with oneDNN v3.3.2 (#2112)
shu1chen Jan 29, 2024
1767644
Update sample.json
jimmytwei Jan 29, 2024
393880f
Update sample.json
jimmytwei Jan 29, 2024
ae8ef79
Update sample.json
jimmytwei Jan 29, 2024
edb2bf2
[IRTK] 2024.0 PVC dev hierarchy fixes, readme update, warning removal…
MichaelRCarroll-Intel Jan 29, 2024
6ef0e52
ONSAM-1820 AI-KIT IntelTensorFlow_ModelZoo_Inference_with_FP32_Int8 s…
krzeszew Jan 30, 2024
00d792b
Update sample.json
jimmytwei Jan 30, 2024
116a626
update target device, 'Agilex' replaced by 'Agilex7' (#2162)
whitepau Jan 30, 2024
bda6ea7
updated sample.json & removed unnecessary files (#2163)
Ankur-singh Jan 31, 2024
bef914a
updated setvars path for windows fails (#2166)
Ankur-singh Jan 31, 2024
1347932
[IRTK] mac os fixes onsam 1782 (#2167)
MichaelRCarroll-Intel Jan 31, 2024
9a365db
Error handling (#2165)
louie-tsai Jan 31, 2024
acf6ca2
FPGA: constrain while(1) loops in the convolution2d sample (#2168)
whitepau Feb 1, 2024
e2c2559
updated AMX samples (#2169)
Ankur-singh Feb 1, 2024
bc4a972
[IRTK] ONSAM-1782 macosstb (#2173)
MichaelRCarroll-Intel Feb 2, 2024
fcf7c16
Fix ONSAM-1812 (#2172)
zma2 Feb 2, 2024
4cd1ac9
updated sample.json to skip execution in CI (#2171)
Ankur-singh Feb 2, 2024
3fbac3e
Removed tutorial_vtune_profiling.ipynb conversion (#2170)
Ankur-singh Feb 2, 2024
6e605f2
[IRTK] ONSAM-1782 MacOS destructor warning fix, samples.json validati…
MichaelRCarroll-Intel Feb 3, 2024
2dc9237
FPGA: Update links to point to the correct branch and fix some broken…
yuguen Feb 5, 2024
8710e70
Update README.md
jimmytwei Feb 7, 2024
279df3f
Update sample.json
jimmytwei Feb 8, 2024
79ee91c
Update sample.json
jimmytwei Feb 8, 2024
fb47ee0
FPGA: Stop using variable length arrays in FPGA samples (#2183)
yuguen Feb 9, 2024
79df173
Update release.json
jimmytwei Feb 13, 2024
da1625e
FPGA: update `streaming_data_interfaces` to use correct type (#2185)
whitepau Feb 14, 2024
621bb87
[IRTK] stb copied local, docs rework for base prereq (#2186)
MichaelRCarroll-Intel Feb 14, 2024
6942b6e
Fix ONSAM-1721 (#2178)
alexander-sannikov Feb 14, 2024
29a7fdd
Update sample.json
jimmytwei Feb 14, 2024
7f04d0c
Update License.txt
jimmytwei Feb 14, 2024
a92571c
Update Makefile
jimmytwei Feb 14, 2024
1741a24
Update README.md
jimmytwei Feb 14, 2024
9e78519
Update sample.json
jimmytwei Feb 14, 2024
fb9ba07
Update sample.json
jimmytwei Feb 14, 2024
1710b45
Update sample.json
jimmytwei Feb 15, 2024
f76332c
feat: Add Text Generation with Itex LSTM sample (#2004)
nedo99 Feb 15, 2024
ea8e72e
Add a new sample: american options (#2176)
andreyfe1 Feb 15, 2024
18e63ab
Update sample.json
jimmytwei Feb 16, 2024
be6b829
Update sample.json
jimmytwei Feb 16, 2024
bf3d765
Update sample.json
jimmytwei Feb 16, 2024
e3cf0ef
Update sample.json
jimmytwei Feb 16, 2024
c147d5d
Update sample.json
jimmytwei Feb 16, 2024
d66f78e
Update sample.json
jimmytwei Feb 16, 2024
c10d498
Update CMakeLists.txt
jimmytwei Feb 16, 2024
3e655bd
Update sample.json
jimmytwei Feb 16, 2024
a42c72b
Update sample.json
jimmytwei Feb 16, 2024
5f22e00
Update sample.json
jimmytwei Feb 16, 2024
276f76c
Update sample.json
jimmytwei Feb 16, 2024
58828c3
Update sample.json
jimmytwei Feb 16, 2024
9d91de7
standarized IPEX, ITEX & INC abbrevations (#2181)
Ankur-singh Feb 16, 2024
36db6af
FPGA: Add simulator target for the CRR sample (#2192)
intel-jisheng1 Feb 20, 2024
7b868e1
FPGA: Remove fpga_register annotations from fifo_sort (#2193)
justin-rosner Feb 20, 2024
a11a79e
FPGA: reduce use of mallocs (#2194)
yuguen Feb 21, 2024
005ceed
New sample (#2195)
vidyalathabadde Feb 21, 2024
0526d1e
added dwtHaar1D SYCL migration sample (#2190)
Feb 21, 2024
87b1d02
Adding simpleAtomicIntrincis SYCL Migration Sample (#2188)
AvijitBag07 Feb 21, 2024
3f84609
Adding ScalarProd SYCL Migration Sample (#2187)
Feb 21, 2024
8c57fda
Update sample.json
jimmytwei Feb 21, 2024
4045210
Update sample.json
jimmytwei Feb 21, 2024
091b709
Update sample.json
jimmytwei Feb 21, 2024
7398576
Update sample.json
jimmytwei Feb 22, 2024
d0fad08
Update sample.json
jimmytwei Feb 22, 2024
86f6679
Update sample.json
jimmytwei Feb 22, 2024
e4a7e65
Update sample.json
jimmytwei Feb 22, 2024
f944e7b
Update sample.json
jimmytwei Feb 22, 2024
5091524
Update sample.json
jimmytwei Feb 22, 2024
49fa71c
Added CudaOpenMP migrated SYCL code (#2196)
AvijitBag07 Feb 22, 2024
7fdce37
FPGA: Added information about how to obtain BSP information in README…
yuguen Feb 22, 2024
83dd982
Applying new template to one AI Getting Started sample (#2182)
Marina-Zubova Feb 23, 2024
d280a95
Update sample.json
jimmytwei Feb 23, 2024
8e55edf
Update sample.json
jimmytwei Feb 23, 2024
298366d
Update sample.json
jimmytwei Feb 23, 2024
17c8b14
Update sample.json
jimmytwei Feb 23, 2024
f924308
Update sample.json
jimmytwei Feb 23, 2024
3f634f3
Update sample.json
jimmytwei Feb 23, 2024
dde1c6b
Update sample.json
jimmytwei Feb 23, 2024
3c5cfdc
Update sample.json
jimmytwei Feb 23, 2024
52475b0
Update simpleCudaGraphs.dp.cpp
jimmytwei Feb 23, 2024
61b1684
Update sample.json
jimmytwei Feb 24, 2024
ea02dd5
Update sample.json
jimmytwei Feb 24, 2024
1765a85
Update sample.json
jimmytwei Feb 24, 2024
b6510cc
Update sample.json
jimmytwei Feb 24, 2024
bfcc3ae
Update sample.json
jimmytwei Feb 24, 2024
b649184
Update README.MD
ishaghosh27 Mar 4, 2024
e24fcee
FPGA: reduce `loop_caried_dependency` design size to fit in all devic…
yuguen Mar 5, 2024
41b3f52
Update README.MD
ishaghosh27 Mar 6, 2024
fa124c1
Update makefile
jimmytwei Mar 14, 2024
1fab052
Update makefile
jimmytwei Mar 14, 2024
35bf5fc
Update README.md
jimmytwei Mar 14, 2024
1eafcb8
Removed IntelAIKitContainer_GettingStarted sample (#2217)
jimmytwei Mar 14, 2024
62f0921
Disabled_Atomic_Inr_And_Atomic_Dec (#2216)
AvijitBag07 Mar 14, 2024
b28e191
Update makefile
jimmytwei Mar 15, 2024
9915bd0
Update makefile
jimmytwei Mar 15, 2024
dacb7bc
Update makefile
jimmytwei Mar 15, 2024
0549665
Update enabling_automixed_precision_for_transfer_learning_with_tensor…
jimmytwei Mar 16, 2024
2749723
Update requirements.txt
jimmytwei Mar 16, 2024
ad4f36c
FPGA: Document compiler bug exposed by `use_library` tutorial on Wind…
whitepau Mar 18, 2024
0b2340f
Update README.md
jimmytwei Mar 18, 2024
945fd10
Update README.md (#2211)
ZhaoqiongZ Mar 18, 2024
ad7d8cc
Update README.md
jimmytwei Mar 18, 2024
5b891a5
Update sample.json
jimmytwei Mar 18, 2024
c2e05c2
Update sample.json
jimmytwei Mar 18, 2024
e3b9a65
[ONSAM-1854] Fix for IntelPython_Numpy_Numba_dpex_kNN failure (#2230)
krzeszew Mar 19, 2024
6b47b03
Update sample.json
jimmytwei Mar 19, 2024
94389b3
Update sample.json
jimmytwei Mar 19, 2024
2f7f1ea
Update sample.json
jimmytwei Mar 19, 2024
7d17d3c
Update sample.json
jimmytwei Mar 19, 2024
b70eff7
Update sample.json
jimmytwei Mar 19, 2024
650bf90
Update sample.json
jimmytwei Mar 19, 2024
40f9997
Update README.md
jimmytwei Mar 19, 2024
db94511
Update ResNet50_Inference.ipynb
jimmytwei Mar 19, 2024
4d41be5
Update sample.json
jimmytwei Mar 19, 2024
347b04c
Update sample.json
jimmytwei Mar 19, 2024
0d5a714
Update requirements.txt
jimmytwei Mar 19, 2024
7f260ea
Update requirements.txt
jimmytwei Mar 19, 2024
1ef7962
Update sample.json
jimmytwei Mar 20, 2024
29c814b
IRTK_Learning_Path initial commit (#2237)
robmariv Mar 20, 2024
4dbbad8
Update sample.json
jimmytwei Mar 20, 2024
1efdf74
Update sample.json
jimmytwei Mar 20, 2024
401909f
Update sample.json
jimmytwei Mar 20, 2024
a22a7dc
Update sample.json
jimmytwei Mar 20, 2024
1e7fa34
Update sample.json
jimmytwei Mar 20, 2024
4f438f9
Update sample.json
jimmytwei Mar 20, 2024
6a251b6
Update sample.json
jimmytwei Mar 20, 2024
7098866
Modify the readme based on the template (#2222)
wangkl2 Mar 20, 2024
07f11bd
Update run_CPU.sh
jimmytwei Mar 20, 2024
f2d3c51
Update run_GPU.sh
jimmytwei Mar 20, 2024
01f3198
Update sample.json
jimmytwei Mar 20, 2024
c116feb
Update sample.json
jimmytwei Mar 20, 2024
b5b5d36
Update sample.json
jimmytwei Mar 20, 2024
5407f54
Update sample.json
jimmytwei Mar 20, 2024
9417ddd
Update sample.json
jimmytwei Mar 21, 2024
195b747
--force in all sh's, new run_CPU_CI.sh and run_GPU_CI.sh, new guids (…
robmariv Mar 21, 2024
3af6e16
Update binomial.hpp
jimmytwei Mar 21, 2024
479f025
Update binomial_main.cpp
jimmytwei Mar 21, 2024
450b26b
Update binomial_sycl.cpp
jimmytwei Mar 21, 2024
ba0dc69
Update black_scholes.hpp
jimmytwei Mar 21, 2024
0032d4b
Update black_scholes_sycl.cpp
jimmytwei Mar 21, 2024
c857966
Update montecarlo.hpp
jimmytwei Mar 21, 2024
7fb3abe
Update montecarlo_main.cpp
jimmytwei Mar 21, 2024
dcc8669
Update sample.json
jimmytwei Mar 21, 2024
2061438
Update sample.json
jimmytwei Mar 21, 2024
be52518
Update sample.json
jimmytwei Mar 21, 2024
a09775a
IRTK_LP script perms, script typo fix (#2255)
MichaelRCarroll-Intel Mar 21, 2024
9807fec
Added C++ to sycl migration samples (#2256)
jimmytwei Mar 21, 2024
5dd4427
Update github-pages.yml
jimmytwei Mar 21, 2024
751c1aa
Update sample.json
jimmytwei Mar 21, 2024
75e3ed8
Update sample.json
jimmytwei Mar 22, 2024
6600a7f
Update sample.json
jimmytwei Mar 22, 2024
d72b573
Update sample.json
jimmytwei Mar 22, 2024
aa2bf33
Update sample.json
jimmytwei Mar 22, 2024
2c72208
Update pair_wise_kernel.py
jimmytwei Mar 22, 2024
376ede9
Update sample.json
jimmytwei Mar 22, 2024
9adf93e
Update sample.json
jimmytwei Mar 22, 2024
b45b0a8
Update sample.json
jimmytwei Mar 22, 2024
3cc62f9
Update sample.json
jimmytwei Mar 22, 2024
62e3eff
Update sample.json
jimmytwei Mar 22, 2024
84d1404
Update sample.json
jimmytwei Mar 22, 2024
237fc01
Update kmeans_kernel_atomic.py
jimmytwei Mar 22, 2024
d3bb032
Update sample.json
jimmytwei Mar 22, 2024
c891dd2
Update sample.json
jimmytwei Mar 22, 2024
82977b1
Update sample.json
jimmytwei Mar 22, 2024
cbc36bc
Update README.md (#2250)
raistefintel Mar 22, 2024
701c426
Update readme.md (#2252)
raistefintel Mar 22, 2024
0445d8c
template 2024.1 (#2246)
raistefintel Mar 22, 2024
3a64b1a
template 2024.1 (#2244)
raistefintel Mar 22, 2024
55979c4
Update README.md (#2233)
raistefintel Mar 22, 2024
bf201df
Update readme.md
jimmytwei Mar 22, 2024
7de13bd
Rename IntelModin_GettingStarted.ipynb to Modin_GettingStarted.ipynb …
raistefintel Mar 22, 2024
c430674
Rename IntelModin_Vs_Pandas.ipynb to Modin_Vs_Pandas.ipynb (#2248)
raistefintel Mar 22, 2024
9a9eba6
Renamed Modin folders (#2257)
jimmytwei Mar 22, 2024
647e08e
Update README.md
jimmytwei Mar 22, 2024
f2882b6
Update README.md
jimmytwei Mar 25, 2024
4f58547
Update README.md
jimmytwei Mar 25, 2024
7152d72
Update README.md
jimmytwei Mar 25, 2024
d2d5a60
Update README.md
jimmytwei Mar 25, 2024
171abd1
Update sample.json
jimmytwei Mar 25, 2024
f4a667e
Update sample.json
jimmytwei Mar 25, 2024
70f071e
Update profile_utils.py
jimmytwei Mar 26, 2024
b1915dd
Update sample.json
jimmytwei Mar 26, 2024
e4e4826
Update Mandel.hpp
jimmytwei Mar 26, 2024
f6a8838
Update profile_utils.py
jimmytwei Mar 26, 2024
9155a69
IRTK Learning Path README.md Max 2-tile env var (#2265)
MichaelRCarroll-Intel Mar 26, 2024
96f84f8
Update README.md
ishaghosh27 Mar 26, 2024
83fdae7
Update sample.json
jimmytwei Mar 26, 2024
19ac7bf
Update sample.json
jimmytwei Mar 27, 2024
85e5966
Update sample.json
jimmytwei Mar 27, 2024
65128bf
Update index.html
jimmytwei Mar 27, 2024
dd435d6
Bump transformers from 4.30.0 to 4.36.0 in /AI-and-Analytics/Features…
dependabot[bot] Mar 27, 2024
c87dbc2
[oneMKL] Fix batched linear solver sample page fault (#2281)
sknepper Apr 8, 2024
9fa0a0f
Git clone readme update (#2277)
ishaghosh27 Apr 14, 2024
23f4154
Update sample.json
raistefintel Apr 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
81 changes: 81 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: github-samples-app

on:
push:
branches:
- master

workflow_dispatch:

# schedule:
# - cron: '55 13 * * *'

# Top-level default; empty/no permissions
permissions: {}

jobs:
pages:
name: Build GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
# Above required for publishing to gh-pages; see auth on Ln 67-68

steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"

- uses: actions/checkout@v3
name: Check out app/dev # checks out app/dev in top-level dir
with:
ref: 'refs/heads/app/dev'

- uses: actions/checkout@v3
name: Check out master # checks out master in subdirectory
with:
ref: 'refs/heads/master'
path: master

- name: Build JSON DB
run: |
python3 -m pip install -r src/requirements.txt
echo master
python3 src/db.py master

- name: Remove JSON pre-prod
run: |
rm -rf src/docs/sample_db_pre.json

- name: Build Sphinx
run: |
python3 -m sphinx -W -b html src/docs/ src/docs/_build/
echo $PWD
echo ${{ github.ref }}

- name: Add GPU-Occupancy-Calculator
env:
GPU_OCC_CALC: src/docs/_build/Tools/GPU-Occupancy-Calculator/
run: |
mkdir -p ${GPU_OCC_CALC}
cp -v ${{ github.workspace }}/master/Tools/GPU-Occupancy-Calculator/index.html ${GPU_OCC_CALC}/index.html

- name: Push docs
if: ${{ github.ref == 'refs/heads/master' }} # only if this workflow is run from the master branch, push docs
env:
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REPO: ${{ github.repository }}
run: |
cd src/docs/_build/
touch .nojekyll
git init
git remote add origin "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}"
git add -A
git status
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git commit -sm "$(date)"
git branch -M gh-pages
git push -u origin -f gh-pages
49 changes: 26 additions & 23 deletions AI-and-Analytics/End-to-end-Workloads/Census/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ The `Census` sample code illustrates how to use Intel® Distribution of Modin* f
## Purpose
This sample code demonstrates how to run the end-to-end census workload using the AI Toolkit without any external dependencies.

Intel® Distribution of Modin* uses Ray to speed up your Pandas notebooks, scripts, and libraries. Unlike other distributed DataFrame libraries, Intel® Distribution of Modin* provides integration and compatibility with existing Pandas code. Intel® Extension for Scikit-learn* dynamically patches scikit-learn estimators to use Intel® oneAPI Data Analytics Library (oneDAL) as the underlying solver to get the solution faster.
Intel® Distribution of Modin* uses HDK to speed up your Pandas notebooks, scripts, and libraries. Unlike other distributed DataFrame libraries, Intel® Distribution of Modin* provides integration and compatibility with existing Pandas code. Intel® Extension for Scikit-learn* dynamically patches scikit-learn estimators to use Intel® oneAPI Data Analytics Library (oneDAL) as the underlying solver to get the solution faster.

## Prerequisites

| Optimized for | Description
| :--- | :---
| OS | 64-bit Ubuntu* 18.04 or higher
| Hardware | Intel Atom® processors <br> Intel® Core™ processor family <br> Intel® Xeon® processor family <br> Intel® Xeon® Scalable processor family
| Software | Intel® AI Analytics Toolkit (AI Kit) (Python version 3.7, Intel® Distribution of Modin*) <br> Intel® Extension for Scikit-learn* <br> NumPy <br> Ray
| Software | Intel® AI Analytics Toolkit (AI Kit) (Python version 3.8 or newer, Intel® Distribution of Modin*) <br> Intel® Extension for Scikit-learn* <br> NumPy

The Intel® Distribution of Modin* and Intel® Extension for Scikit-learn* libraries are available together in [Intel® AI Analytics Toolkit (AI Kit)](https://software.intel.com/content/www/us/en/develop/tools/oneapi/ai-analytics-toolkit.html).


## Key Implementation Details

This end-to-end workload sample code is implemented for CPU using the Python language. Once you have installed AI Kit, the Conda environment is prepared with Python version 3.7 (or newer), Intel Distribution of Modin*, Ray, Intel® Extension for Scikit-Learn, and NumPy.
This end-to-end workload sample code is implemented for CPU using the Python language. Once you have installed AI Kit, the Conda environment is prepared with Python version 3.8 (or newer), Intel Distribution of Modin*, Intel® Extension for Scikit-Learn, and NumPy.

In this sample, you will use Intel® Distribution of Modin* to ingest and process U.S. census data from 1970 to 2010 in order to build a ridge regression-based model to find the relation between education and total income earned in the US.

Expand Down Expand Up @@ -74,23 +74,29 @@ To learn more about the extensions and how to configure the oneAPI environment,

### On Linux*

1. Install the Intel® Distribution of Modin* python environment.
1. Install the Intel® Distribution of Modin* python environment (Only python 3.8 - 3.10 are supported).
```
conda create -y -n intel-aikit-modin intel-aikit-modin -c intel
conda create -n modin-hdk python=3.x -y
```
2. Activate the Conda environment.
```
conda activate intel-aikit-modin
conda activate modin-hdk
```
3. Install Jupyter Notebook.
3. Install modin-hdk, Intel® Extension for Scikit-learn* and related libraries.
```
conda install jupyter nb_conda_kernels
conda install modin-hdk -c conda-forge -y
pip install scikit-learn-intelex
pip install matplotlib
```
4. Install OpenCensus.
4. Install Jupyter Notebook
```
pip install opencensus
pip install jupyter ipykernel
```
5. Change to the sample directory, and open Jupyter Notebook.
5. Add kernel to Jupyter Notebook.
```
python -m ipykernel install --user --name modin-hdk
```
6. Change to the sample directory, and open Jupyter Notebook.
```
jupyter notebook
```
Expand Down Expand Up @@ -127,20 +133,17 @@ To learn more about the extensions and how to configure the oneAPI environment,
2. Open a web browser, and navigate to https://devcloud.intel.com. Select **Work with oneAPI**.
3. From Intel® DevCloud for oneAPI [Get Started](https://devcloud.intel.com/oneapi/get_started), locate the ***Connect with Jupyter* Lab*** section (near the bottom).
4. Click **Sign in to Connect** button. (If you are already signed in, the link should say ***Launch JupyterLab****.)
5. Once JupyterLab opens, select **no kernel**.
6. You might need to [clone the samples](#clone-the-samples-in-intel®-devcloud) from GitHub. If the samples are already present, skip this step.
7. Change to the sample directory.
8. Open `census_modin.ipynb`.
9. Click **Run** to run the cells.
10. Alternatively, run the entire workbook by selecting **Restart kernel and re-run whole notebook**.

#### Clone the Samples in Intel® DevCloud
If the samples are not already present in your Intel® DevCloud account, download them.
1. From JupyterLab, select **File** > **New** > **Terminal**.
2. In the terminal, clone the samples from GitHub.
5. Open a terminal from Launcher
6. Follow [step 1-5](#on-linux) to create conda environment
7. Clone the samples from GitHub. If the samples are already present, skip this step.
```
git clone https://github.com/oneapi-src/oneAPI-samples.git
```
8. Change to the sample directory.
9. Open `census_modin.ipynb`.
10. Select kernel "modin-hdk"
11. Click **Run** to run the cells.
12. Alternatively, run the entire workbook by selecting **Restart kernel and re-run whole notebook**.

## Example Output

Expand All @@ -152,4 +155,4 @@ This is an example Cell Output for `census_modin.ipynb` run in Jupyter Notebook.

Code samples are licensed under the MIT license. See [License.txt](https://github.com/oneapi-src/oneAPI-samples/blob/master/License.txt) for details.

Third-party program Licenses can be found here: [third-party-programs.txt](https://github.com/oneapi-src/oneAPI-samples/blob/master/third-party-programs.txt).
Third-party program Licenses can be found here: [third-party-programs.txt](https://github.com/oneapi-src/oneAPI-samples/blob/master/third-party-programs.txt).
33 changes: 18 additions & 15 deletions AI-and-Analytics/End-to-end-Workloads/Census/census_modin.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"pycharm": {
Expand All @@ -29,7 +30,7 @@
},
"source": [
"In this example we will be running an end-to-end machine learning workload with US census data from 1970 to 2010.\n",
"It uses Intel® Distribution of Modin with Ray as backend compute engine for ETL, and uses Ridge Regression algorithm from Intel scikit-learn-extension library to train and predict the co-relation between US total income and education levels."
"It uses Intel® Distribution of Modin with HDK (Heterogeneous Data Kernels) as backend compute engine for ETL, and uses Ridge Regression algorithm from Intel scikit-learn-extension library to train and predict the co-relation between US total income and education levels."
]
},
{
Expand Down Expand Up @@ -73,14 +74,15 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"Import Modin and set Ray as the compute engine. This engine uses analytical database OmniSciDB to obtain high single-node scalability for specific set of dataframe operations. "
"Import Modin and set HDK as the compute engine. This engine provides a set of components for federating analytic queries to an execution backend based on OmniSciDB to obtain high single-node scalability for specific set of dataframe operations. "
]
},
{
Expand All @@ -97,16 +99,7 @@
"import modin.pandas as pd\n",
"\n",
"import modin.config as cfg\n",
"from packaging import version\n",
"import modin\n",
"\n",
"cfg.IsExperimental.put(\"True\")\n",
"cfg.Engine.put('native')\n",
"# Since modin 0.12.0 OmniSci engine activation process slightly changed\n",
"if version.parse(modin.__version__) <= version.parse('0.11.3'):\n",
" cfg.Backend.put('omnisci')\n",
"else:\n",
" cfg.StorageFormat.put('omnisci')\n"
"cfg.StorageFormat.put('hdk')\n"
]
},
{
Expand Down Expand Up @@ -288,13 +281,23 @@
"mean MSE ± deviation: 0.032564569 ± 0.000041799\n",
"mean COD ± deviation: 0.995367533 ± 0.000005869"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# release resources\n",
"%reset -f"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "modin-hdk",
"language": "python",
"name": "python3"
"name": "modin-hdk"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -306,7 +309,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.11"
"version": "3.9.16"
}
},
"nbformat": 4,
Expand Down
16 changes: 9 additions & 7 deletions AI-and-Analytics/End-to-end-Workloads/Census/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
"id": "Intel_Modin_E2E_py",
"steps": [
"set -e # Terminate the script on first error",
"source $(conda info --base)/etc/profile.d/conda.sh # Bypassing conda's disability to activate environments inside a bash script: https://github.com/conda/conda/issues/7980",
"conda create -y -n intel-aikit-modin intel-aikit-modin -c intel",
"conda activate intel-aikit-modin",
"conda install -y jupyter # Installing 'jupyter' for extended abilities to execute the notebook",
"pip install opencensus # Installing 'runipy' for extended abilities to execute the notebook",
"source /root/intel/oneapi/intelpython/bin/activate",
"conda create -n modin-hdk python=3.9 -y",
"conda activate modin-hdk",
"conda install modin-hdk -c conda-forge -y",
"pip install scikit-learn scikit-learn-intelex matplotlib jupyter ipykernel",
"python -m ipykernel install --name modin-hdk",
"jupyter nbconvert --to notebook --execute census_modin.ipynb"
]
}
]
}
}
},
"expertise": "Reference Designs and End to End"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Audio File,Language Code
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

rm -R RIRS_NOISES
rm -R tmp
rm -R speechbrain
rm -f rirs_noises.zip noise.csv reverb.csv vad_file.txt
rm -f ./*.wav
Loading