I'm trying to install Tensorflow Serving , I followed the steps availble on Tensorflow website ,but when I run the following command :
bazel build tensorflow_serving/...
after a long time (like 30 minutes or more) I receive following error.
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
I attached a screenshot to provide full report, I'm using Ubuntu and I installed Bazel version 0.2 .
I already searched and apparently it can be the problem of running out of memory but I couldn't find how to solve it .
Error report Image
It would be very helpful if anyone knows the solution .
Related
SYSTEM: Ryzen 5800x, rx 6700xt, 32 gigs of RAM, Ubuntu 22.04.1
I'm attempting to install Stable-Diffusion by following https://youtu.be/d_CgaHyA_n4
When attempting to run the SD script, I get the "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!" error.
I believe this is caused by PyTorch not working as expected. When validating Pytorchs' installation with "The Master Test", I get the same error:
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)
I believe that it is install correctly as using the conda list command tells me that torch 1.12.0a0+git2a932eb and torchvision 0.13.0a0+f5afae5 are installed. Interestingly, when I change the command ever-so-slightly to torch.cuda.is_available, (without the parentheses), I get the following output: <function is_available at 0x7f42278788b0>. Granted, I'm not sure what this is telling me. Following the "Verification" step resulted in the expected array of random numbers. However, failed the GPU driver check.
Thank you in advance.
Try running the following command:
export HSA_OVERRIDE_GFX_VERSION=10.3.0
This made it work on my machine using an RX 6600 XT, with which I got the same error running it, before exporting the variable.
I was struggling with ROCm enabled Tensorflow, the tensorflow-rocm, package. Without setting up the environment variable
export HSA_OVERRIDE_GFX_VERSION=10.3.0
, tensorflow-rocm crashes.
After setting it up, it works with 6700XT as well (at least it does not crash.) But still having problem with finding libraries.
It seems ROCm has a lot to catch up.
Buildozer (0.34) fails with this error when set up using Kivy's VM (2.0). I was able to replicate it in an unrelated environment (no VM) in Ubuntu 16.04 and the same spec file.
Log output:
[INFO]: STDOUT:
/build/app-name/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/sdl/Android.mk:8:
*** Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example
"com_example_SanAngeles". Stop.
This happened right after it switched to running the NDK build:
Log output:
RAN: /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
Does anyone have insight into why this error would appear exactly the same way in both the VM and when I set up the environment on my own? Is it Java-related somehow? I will elaborate with more detail, but I'm not sure what would be the most helpful. I can't find references to this error elsewhere, and I would appreciate any clues at all. This is my first question on SO, but this community has really helped me learn. Thank you.
I'm using jhbuild to build and run gnome-music.
I'm having a successful build but when I run the command
jhbuild run gnome-music
I get the following error
One of the errors is
1.GstTag was imported without specifying a version first
The rest are in the link above.
I'm not sure how to proceed further,can someone help me out?(I'm using Ubuntu 17.04).
I'm following the steps given on:
https://github.com/GNOME/gnome-music
Gst just warns you against not mentioning a version number. Hence, that's not the error.
The error you are facing is regarding Tracker. As you are on Ubuntu distribution, you should know that Ubuntu disables Tracker by default. Hence jhbuild run gnome-music refuses to start. Tracker is a file-indexing service based on file's metadata.
However, Ubuntu is deciding to enable Tracker by default as many GNOME's core apps relies on it. Read here.
Enable Tracker and jhbuild will pick it up from the host system.
I've used stack overflow a lot in the past and found it extremely helpful, but I find myself needing to ask my first quest:
I am working on a map reduce project that will use Hbase. I am developing on windows and using cygwin's shell to run Hbase. I have followed all the install steps for installing Hbase on windows, but when I try to run it I get the following error:
cygpath: error converting
"c:\cygwin\usr\local\hbase-0.92.1/conf:/usr/local/jre7/lib/tools.jar:c:\cygwin\usr\local\hbase-0.92.1:c:\cygwin\usr\local\hbase-0.92.1/lib/*.jar"
- Unknown error -1
And then it reports that it can't find the main class for some necessary .jar files which I'm assuming has to do with cygpath not handling the paths to those jars correctly.
Any help is greatly appreciated.
I am currently trying to run Coverity Prevent and I believe I have everything set up appropriately on my windows 7 build machine. I have run it with AnthillPro and when my code finishes and gets to Coverity it says that everything was built fine and the only error I get is:
Warning: Cygwin pathname conversion ignored; no applicable
'bash'/'mount', 'cygpath', or registry keys found.
I have even tried to install Cygwin to see if this could rectify the problem and I still end up with the same error.
I am currently using AnthillPro 3.7 and Coverity 5.5.3. The build log says that I have warnings but no errors and that it hasn't emitted anything. I have tried to run a script directly from the machine (not server) itself and I have the same error as I do using the Coverity Prevent in Anthill
This is the only information I get at the bottom of the build log.
Run from AnthillPro:
Build time (cov-build overall): 00:00:17.753597
[WARNING] No files were emitted. This may be due to a problem with your configuration
or because no files were actually compiled by your build command.
Please make sure you have configured the compilers actually used in the compilation.
For more details, please look at:
d:\Coverity\Intermediate\AllToolsProjects.sln_pc_vs2010\build-log.txt
Run from Script:
The cov-build FAILED.
This may be because less than 90 percent of units were successfully compiled
Check for errors here:
D:\\Coverity\Scripts\build_AllToolsProjects.sln_pc_vs2010.bat
D:\\Coverity\Intermediate\AllToolsProjects.sln_pc_vs2010\build-log.txt
D:\\Coverity\Configuration\pc_vs2010
It sounds like you haven't configured the compiler - that's when you tell your Coverity Analysis installation which compiler you are using. devenv is not a compiler, cl.exe is.
Run the following command:
coverity-analysis-dir/bin/cov-configure --msvc
This will say that you are using the cl.exe compiler and it's of type msvc no matter where it's installed.
Then rerun your Coverity build and see if it captures more of your compilations.