urielfcampos
Failing to cmake exla on a new Bumblebee project
Hey everyone ! I was trying to start a new bumblebee project on my OpenSuse installation and i’m running on this issue which seems to be related to gcc/cmake but not exactly sure which approach to take to fix it ![]()
/.local/share/rtx/installs/erlang/26.0.2/erts-14.0.2/include -Icache/xla_extension/include -O3 -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -shared -std=c++17 -w -DLLVM_VERSION_STRING= c_src/exla/exla.cc c_src/exla/exla_nif_util.cc c_src/exla/exla_client.cc -o cache/libexla.so -Lcache/xla_extension/lib -lxla_extension -Wl,-rpath,'$ORIGIN/xla_extension/lib'
In file included from cache/xla_extension/include/xla/service/executable.h:33:0,
from cache/xla_extension/include/xla/service/compiler.h:40,
from cache/xla_extension/include/xla/client/local_client.h:29,
from cache/xla_extension/include/xla/pjrt/gpu/gpu_helpers.h:25,
from c_src/exla/exla_client.h:11,
from c_src/exla/exla.cc:4:
cache/xla_extension/include/xla/service/service_executable_run_options.h: In member function ‘absl::lts_20230125::StatusOr<std::unique_ptr<stream_executor::Stream, xla::StreamPool::PtrDeleter> > xla::ServiceExecutableRunOptions::BorrowStream(int, stream_executor::StreamPriority) const’:
cache/xla_extension/include/xla/service/service_executable_run_options.h:73:12: error: could not convert ‘stream’ from ‘xla::StreamPool::Ptr {aka std::unique_ptr<stream_executor::Stream, xla::StreamPool::PtrDeleter>}’ to ‘absl::lts_20230125::StatusOr<std::unique_ptr<stream_executor::Stream, xla::StreamPool::PtrDeleter> >’
return stream;
^~~~~~
In file included from cache/xla_extension/include/xla/service/executable.h:33:0,
from cache/xla_extension/include/xla/service/compiler.h:40,
from cache/xla_extension/include/xla/client/local_client.h:29,
from cache/xla_extension/include/xla/pjrt/gpu/gpu_helpers.h:25,
from c_src/exla/exla_client.h:11,
from c_src/exla/exla_client.cc:1:
cache/xla_extension/include/xla/service/service_executable_run_options.h: In member function ‘absl::lts_20230125::StatusOr<std::unique_ptr<stream_executor::Stream, xla::StreamPool::PtrDeleter> > xla::ServiceExecutableRunOptions::BorrowStream(int, stream_executor::StreamPriority) const’:
cache/xla_extension/include/xla/service/service_executable_run_options.h:73:12: error: could not convert ‘stream’ from ‘xla::StreamPool::Ptr {aka std::unique_ptr<stream_executor::Stream, xla::StreamPool::PtrDeleter>}’ to ‘absl::lts_20230125::StatusOr<std::unique_ptr<stream_executor::Stream, xla::StreamPool::PtrDeleter> >’
return stream;
^~~~~~
make: *** [Makefile:57: cache/libexla.so] Error 1
appreciate any help with it ![]()
Marked As Solved
urielfcampos
Managed to get it working on WSL2 so i guess that’s the simplest way to go about it
Popular in Questions
lets say i have a sample like
a = 20; b = 10;
if (a > b) do
{:ok, "a"}
end
if (a < b) do
{:ok, b}
end
if (a == b) do
{:ok, "equa...
New
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
15:22:35.803 [error] gen_event {lager_file_backend...
New
Hello, how can I check the Phoenix version ?
Thanks !
New
Could someone help me? I’m making my first elixir program, number guessing game. I can’t figure out how to convert the user’s guess from ...
New
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
i’m a new one to elixir
which editor can i use
vs code? or atom?
Thanks! :smiley:
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
Other popular topics
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help.
Where are they similar?
Where do they differ the m...
New
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
Hi everyone,
I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
Update:
How to use the Blogs & Podcasts section
You can post links to your blog posts or podcasts either in one of the Official Blog...
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









