Skip to content

Hackthon ai tool 1 #2592

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

Closed
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import intel_extension_for_tensorflow as itex\n",
"\n",
"itex.experimental_ops_override()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ def lemmatize_text(text):
# Now, let us import Intel Extension for TensorFlow*. We are using Python API `itex.experimental_ops_override()`. It automatically replace some TensorFlow operators by Custom Operators under `itex.ops` namespace, as well as to be compatible with existing trained parameters.

# %%
import numpy as np
import intel_extension_for_tensorflow as itex

itex.experimental_ops_override()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@
"id": "JobRecommendationSystem_py",
"steps": [
"source /intel/oneapi/intelpython/bin/activate",
"conda env remove -n user_tensorflow-gpu",
"conda create --name user_tensorflow-gpu --clone tensorflow-gpu",
"conda activate user_tensorflow-gpu",
"pip install -r requirements.txt",
"python -m ipykernel install --user --name=user_tensorflow-gpu",
"python JobRecommendationSystem.py"
"conda activate tensorflow-gpu",
"pip install uv",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt",
"uv add seaborn",
"uv add numpy==1.26.4",
"uv run python -m spacy download en_core_web_sm",
"uv run python JobRecommendationSystem.py"
]
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@
"env": [
"source /intel/oneapi/intelpython/bin/activate",
"conda activate pytorch",
"pip install -r requirements.txt"
"pip install uv",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt",
"uv add torch==2.5.0 torchvision==0.20.0"
],
"id": "inc_text_classification_quantization_py",
"steps": [
"python INC_QuantizationAwareTraining_TextClassification.py"
"uv run INC_QuantizationAwareTraining_TextClassification.py"
]
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@
{
"env": ["source /intel/oneapi/intelpython/bin/activate",
"conda activate tensorflow",
"conda install -n tensorflow -c conda-forge python-flatbuffers -y",
"conda install -n tensorflow -c https://software.repos.intel.com/python/conda/ -c conda-forge neural-compressor -y",
"conda install -n tensorflow -y",
"pip install jupyter ipykernel",
"python -m ipykernel install --user --name=tensorflow"
"pip install uv",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt",
"uv add flatbuffers",
"uv add neural-compressor",
"pip install notebook",
"uv add --dev ipykernel",
"uv run ipython kernel install --user --name tensorflow"

],
"id": "neural-compressor tensorflow",
"steps": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"env": [
"source /intel/oneapi/intelpython/bin/activate",
"conda activate base",
"pip install -r requirements.txt"
"pip install uv",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt"
],
"id": "IDP_XGBoost_GS_py",
"steps": [
"python IntelPython_XGBoost_GettingStarted.py"
"uv run python IntelPython_XGBoost_GettingStarted.py"
]
}]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
"env": [
"source /intel/oneapi/intelpython/bin/activate",
"conda activate base",
"pip install -r requirements.txt"
"pip install uv",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt",
"uv add numpy==1.26.4"
],
"id": "idp_sklex_gs_py",
"steps": [
"python Intel_Extension_For_SKLearn_GettingStarted.py"
"uv run python Intel_Extension_For_SKLearn_GettingStarted.py"
]
}]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@
"ciTests": {
"linux": [
{
"env": [],
"env": [
"source /intel/oneapi/intelpython/bin/activate",
"conda activate modin",
"pip install uv",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt",
"pip install notebook",
"uv add --dev ipykernel",
"uv run ipython kernel install --user --name modin_getting_started"
],
"id": "Intel_Modin_GS_py",
"steps": [
"source /intel/oneapi/intelpython/bin/activate",
"pip install -r requirements.txt",
"pip install jupyter ipykernel",
"jupyter nbconvert --ExecutePreprocessor.enabled=True --to notebook Modin_GettingStarted.ipynb"
]
}
Expand Down