Skip to content
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 build error for nightly #145

Merged
merged 1 commit into from
Sep 6, 2024
Merged

fix build error for nightly #145

merged 1 commit into from
Sep 6, 2024

Conversation

dhuangnm
Copy link
Collaborator

@dhuangnm dhuangnm commented Sep 5, 2024

SUMMARY:
To fix following error:

$ make build
python3 setup.py sdist bdist_wheel
Extracting version info from /home/dhuang/llm-compressor/src/llmcompressor
Traceback (most recent call last):
File "/home/dhuang/llm-compressor/setup.py", line 13, in
version_info = extract_version_info(package_path)
File "/home/dhuang/llm-compressor/utils/version_extractor.py", line 38, in extract_version_info
exec(open(version_path).read(), globals(), locals_dict)
File "", line 39, in
File "", line 25, in _generate_version_attributes
NameError: name 'datetime' is not defined
make: *** [Makefile:38: build] Error 1

TEST PLAN:
workflow to automate nightly build

@dhuangnm dhuangnm requested review from markurtz and dsikka September 5, 2024 21:46
Copy link

github-actions bot commented Sep 5, 2024

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

Copy link
Collaborator

@dsikka dsikka left a comment

Choose a reason for hiding this comment

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

This LGTM. Have we confirmed this works for nightly and release builds?

@dhuangnm
Copy link
Collaborator Author

dhuangnm commented Sep 6, 2024

This LGTM. Have we confirmed this works for nightly and release builds?

yep, manually verified and it works for nightly and release.

@dsikka dsikka merged commit 083164a into main Sep 6, 2024
7 of 8 checks passed
@dsikka dsikka deleted the fixnightly branch September 6, 2024 13:50
markmc pushed a commit to markmc/llm-compressor that referenced this pull request Nov 13, 2024
* fake quant fix

* fix

* comment

* commetn
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