-
Notifications
You must be signed in to change notification settings - Fork 104
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
Update RankingTrainer usage and Remove BLAS #300
Conversation
.github/build_pypi_wheel.sh
Outdated
echo "$PLAT not supported." | ||
exit 1 | ||
fi | ||
$PIP install 'setuptools' wheel twine auditwheel |
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 still need the single quotes here?
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.
Thanks for the catch. Removed the single quotes in the latest commit.
pecos/core/utils/matrix.hpp
Outdated
template<> inline float scal(ptrdiff_t *len, float *a, float *x, ptrdiff_t *xinc) { return sscal_(len, a, x, xinc); } | ||
template<typename val_type> val_type scal(ptrdiff_t *len, val_type *a, val_type *x, ptrdiff_t *xinc) { | ||
for (ptrdiff_t idx = 0; idx < *len; idx++) { | ||
*x = (*x) * (*a); |
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.
indentation space vs tab?
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.
Thanks for the catch. Fixed the indentation issue in the latest commit.
setup.py
Outdated
extra_compile_args=["-fopenmp", "-O3", "-std=c++17"] + manual_compile_args, | ||
extra_link_args=['-Wl,--no-as-needed', f"-Wl,-rpath,{':'.join(blas_dir)}"] | ||
extra_link_args=['-Wl,--no-as-needed', f"-Wl,-rpath"] |
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.
we might be able to remove the rpath path.
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.
Thanks for the suggestion. We removed the extra_link_args
in the latest commit.
035874f
to
017cd97
Compare
32727d4
to
018a3dc
Compare
018a3dc
to
e67554d
Compare
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.