Skip to content

Commit c47702c

Browse files
authored
Merge branch 'main' into aranadive/add_clang
2 parents 4dc35f7 + ace79e7 commit c47702c

File tree

14 files changed

+2238
-3
lines changed

14 files changed

+2238
-3
lines changed

contrib/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ RUN apt-get update -y && \
4343
flex \
4444
build-essential
4545

46+
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \
47+
--reinstall libibverbs-dev rdma-core ibverbs-utils libibumad-dev
48+
4649
WORKDIR /workspace
4750
RUN git clone https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git &&\
4851
cd etcd-cpp-apiv3 && mkdir build && cd build && \

src/plugins/hf3fs/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# NIXL HF3FS Plugin
2+
3+
This plugin utilizes `hf3fs_usrbio.so` as an I/O backend for NIXL.
4+
5+
## Usage
6+
1. Build and install [3FS](https://github.com/deepseek-ai/3FS/).
7+
2. Ensure that 3FS libraries,`hf3fs_usrbio.so` and `libhf3fs_api_shared.so`, are installed under `/usr/lib/`.
8+
3. Ensure that 3FS headers are installed under `/usr/include/hf3fs`.
9+
4. Build NIXL.
10+
5. Once the HF3FS Backend is built, you can use it in your data transfer task by specifying the backend name as "HF3FS":
11+
12+
```cpp
13+
nixl_status_t ret1;
14+
std::string ret_s1;
15+
nixlAgentConfig cfg(true);
16+
nixl_b_params_t init1;
17+
nixl_mem_list_t mems1;
18+
nixlBackendH *hf3fs;
19+
nixlAgent A1(agent1, cfg);
20+
ret1 = A1.getPluginParams("HF3FS", mems1, init1);
21+
assert (ret1 == NIXL_SUCCESS);
22+
ret1 = A1.createBackend("HF3FS", init1, hf3fs);
23+
...
24+
```
25+

0 commit comments

Comments
 (0)