mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #10] Source code compile and build #9
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @junna2016 on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/10
When I compile from source code, it will meet an error when compile grpc process(grpc is on v1.27.3 branch). I done this in a nvcr.io/nvidia/pytorch:23.10-py3 docker environment, error is:
Mooncake/grpc/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc: In member function ‘void absl::synchronization_internal::GraphCycles::RemoveNode(void*)’:
Mooncake/grpc/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc:451:26: error: ‘numeric_limits’ is not a member of ‘std’
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~~~~~~~~~~~~
Mooncake/grpc/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc:451:49: error: expected primary-expression before ‘>’ token
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^
Mooncake/grpc/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc:451:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~
| std::max
@alogfans commented on GitHub (Dec 2, 2024):
You may need to use export CXXFLAGS='-include /usr/include/c++/11.2.0/limits' for your Docker env (c.f. https://github.com/gpujs/gpu.js/issues/753). In addition, we prefer to use grpc from system's repository (such as apt-get install).
@junna2016 commented on GitHub (Dec 4, 2024):
I resolved by change grpc codebase. Thanks a lot
@IEI-mjx commented on GitHub (Jan 21, 2025):
Hi, @junna2016
I also used this container, but failed when installing etcd-cpp-apiv3.
The above is error traceback,
Have you encountered this error?
If possible, could you share your environment especially the versions of cmake, protobuf?
I would greatly appreciate your assistance.