Closed tmotegi closed 7 months ago
@tmotegi thanks for reporting the issue. We have made a fix and it will be available in the upcoming release.
The latest ubuntu server AMI which works for now is ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20240220
I'm also observing this on Ubuntu 22.04 on AWS and I've tried the older AMI with no luck
amazon-ebs.linux: Setting up aws-neuronx-dkms (2.15.9.0) ...
--
1344 | amazon-ebs.linux: debconf: unable to initialize frontend: Dialog
1345 | amazon-ebs.linux: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
1346 | amazon-ebs.linux: debconf: falling back to frontend: Readline
1347 | amazon-ebs.linux: Loading new aws-neuronx-2.15.9.0 DKMS files...
1348 | amazon-ebs.linux: Building for 6.5.0-1015-aws
1349 | amazon-ebs.linux: Building for architecture x86_64
1350 | amazon-ebs.linux: Building initial module for 6.5.0-1015-aws
1351 | amazon-ebs.linux: Error! Bad return status for module build on kernel: 6.5.0-1015-aws (x86_64)
1352 | amazon-ebs.linux: Consult /var/lib/dkms/aws-neuronx/2.15.9.0/build/make.log for more information.
1353 | amazon-ebs.linux: dpkg: error processing package aws-neuronx-dkms (--configure):
1354 | amazon-ebs.linux: installed aws-neuronx-dkms package post-installation script subprocess returned error exit status 10
1355 | amazon-ebs.linux: Processing triggers for man-db (2.10.2-1) ...
1356 | amazon-ebs.linux: Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
1357 | amazon-ebs.linux: Errors were encountered while processing:
1358 | amazon-ebs.linux: aws-neuronx-dkms
1359 | amazon-ebs.linux: needrestart is being skipped since dpkg has failed
1360 | ==> amazon-ebs.linux: E: Sub-process /usr/bin/dpkg returned an error code (1)
@tmotegi thanks for reporting the issue. We have made a fix and it will be available in the upcoming release.
Hi, what is the ETA for the next release? Thanks.
current aws-neuronx-dkms does not build with kernel 6.5.0-. I tried different ubuntu 22.04 - 240207.1, 240220, 240223, the build only works with kernel 6.2.0-
It appears the kernel incompatibility problem has been resolved based on my tests.
this is fixed in the latest release. Thanks for reporting. Closing this now
I have developed a torch-neuronx application, and I have been running its unit tests using GitHub actions. Up until now, I was able to execute the unit tests for the torch-neuronx application using the ubuntu-latest runner in GitHub actions. However, today I started encountering an error with
sudo apt-get install --no-install-recommends -y aws-neuronx-dkms=2.*
in Github Action.Here is the log I retrieved:
the contents of /var/lib/dkms/aws-neuronx/2.15.9.0/build/make.log are as follows:
I've confirmed that the image for the ubuntu-latest runner has been updated, along with an update to the kernel version. https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240225.1 How might I go about installing aws-neuronx-dkms 2.* onto this new kernel version of ubuntu-latest?