-
Notifications
You must be signed in to change notification settings - Fork 76
Fix conda build #2458
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
Fix conda build #2458
Conversation
|
@pbchekin Regarding your last offline comments that reusable action becomes too big with this patch, how do you think it is better to approach the problem? Should I modify the existing actions instead of installing pre-built wheels? |
Roughly 50% of steps in |
|
@pbchekin the separation is completed, please take a look btw, I wonder why conda workflow starts automatically on this PR - how it is implemented? is it some |
|
It starts because the workflow has |
pbchekin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the new files in scripts such as run-{base,conda}.sh?
|
you are correct, we no longer need run-base; we need run-conda, because I have also run-no-basekit in other branch |
@pbchekin this has to be reverted to the scheduled run, is it correct? |
Yes. |
|
|
||
| ZE_AFFINITY_MASK=0 python pytorch/benchmarks/dynamo/huggingface.py --accuracy --float32 -dxpu -n10 --no-skip --dashboard --inference --freezing --total-partitions 1 --partition-id 0 --only AlbertForMaskedLM --backend=inductor --timeout=4800 --output=$(pwd -P)/inductor_log.csv | ||
|
|
||
| cat inductor_log.csv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason the original important comments are missing:
# TODO: Find the fastest Hugging Face model
# The script above always returns 0, so we need an additional check to see if the accuracy test passed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# The script above always returns 0, so we need an additional check to see if the accuracy test passed
the script is no longer called, thus the note about its return status are no longer relevant
I will restore TODO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
scripts/test-triton.sh
Outdated
| fi | ||
|
|
||
| INSTRUMENTATION_LIB_DIR=$(ls -1d $TRITON_PROJ/python/build/*lib*/triton/instrumentation) || err "Could not find $TRITON_PROJ/python/build/*lib*/triton/instrumentation, build Triton first" | ||
| INSTRUMENTATION_LIB_DIR=$(ls -1d $TRITON_PROJ/python/build/*lib*/triton/instrumentation) || SHARED_LIB_DIR=$(ls -1d $TRITON_PROJ/python/triton/_C) || err "Could not find $TRITON_PROJ/python/build/*lib*/triton/instrumentation, build Triton first" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| INSTRUMENTATION_LIB_DIR=$(ls -1d $TRITON_PROJ/python/build/*lib*/triton/instrumentation) || SHARED_LIB_DIR=$(ls -1d $TRITON_PROJ/python/triton/_C) || err "Could not find $TRITON_PROJ/python/build/*lib*/triton/instrumentation, build Triton first" | |
| INSTRUMENTATION_LIB_DIR=$(ls -1d $TRITON_PROJ/python/build/*lib*/triton/instrumentation) || INSTRUMENTATION_LIB_DIR=$(ls -1d $TRITON_PROJ/python/triton/_C) || err "Could not find $TRITON_PROJ/python/build/*lib*/triton/instrumentation, build Triton first" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also looks like the error message is no longer consistent with the verified locations. Also, conda workflow also builds triton, why $TRITON_PROJ/python/build/*lib*/triton/instrumentation does not work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The location is different for installed wheels. From the other side the instrumentation test do not work for installed wheels, so this change is optional anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The location is different for installed wheels. From the other side the instrumentation test do not work for installed wheels, so this change is optional anyway.
I see. Let's undo this change for now.
|
Here is passing conda test run, https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11575780630 |
No-basekit requires more work