Skip to content

Use uv tool for isolate cicd env, including samples: #4

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

troy818
Copy link
Collaborator

@troy818 troy818 commented Mar 2, 2025

Use uv tool for isolate cicd env, including 6 samples in AI-and-Analytics

1.Features-and-Functionality/IntelPython_daal4py_DistributedLinearRegression
2.Features-and-Functionality/IntelPython_Numpy_Numba_dpnp_kNN
3.Features-and-Functionality/IntelPyTorch_GPU_InferenceOptimization_with_AMP
4.Features-and-Functionality/IntelTensorFlow_TextGeneration_with_LSTM
5.Getting-Started-Samples/Intel_Extension_For_TensorFlow_GettingStarted
6.Getting-Started-Samples/Modin_Vs_Pandas

@@ -13,13 +13,20 @@
"ciTests": {
"linux": [{
"env": [
"source /intel/oneapi/intelpython/bin/activate",
"pip install -r requirements.txt"
"source /intel/oneapi/setvars.sh",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove it oneapi thing

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TAB and space align

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

original only install requirements at tensorflow env and run notebook.
in our uv, why we use base? and other like tensorflow and tensorflow-gpu? not sure...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this case will use both tensorflow and tensorflow-gpu env, I install the requirements and kernels for base and change to different environment to use the packages and kernels. As a result, there will be less conda env change actions.

@bopeng1234 bopeng1234 force-pushed the hackthon-AI-tool-cicd-samples-json branch from 1c10ab0 to 8856b31 Compare March 3, 2025 02:01
@troy818 troy818 force-pushed the hackthon-AI-tool-cicd-samples-json branch from ac63ab1 to a4dfe72 Compare March 3, 2025 02:15
…ironment, including samples:

  1.Features-and-Functionality/IntelPython_daal4py_DistributedLinearRegression
  2.Features-and-Functionality/IntelPython_Numpy_Numba_dpnp_kNN
  3.Features-and-Functionality/IntelPyTorch_GPU_InferenceOptimization_with_AMP
  4.Features-and-Functionality/IntelTensorFlow_TextGeneration_with_LSTM
  5.Getting-Started-Samples/Intel_Extension_For_TensorFlow_GettingStarted
  6.Getting-Started-Samples/Modin_Vs_Pandas

Signed-off-by: troy818 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants