Git Product home page Git Product logo

Comments (4)

BinZlP avatar BinZlP commented on September 28, 2024

There's build option for mlx4 devices in shenango/shared.mk.
Modify it as below and re-build shenango:

CONFIG_MLX5=n
CONFIG_MLX4=y

I'm not sure it's working but you can try.

from aifm.

sctb512 avatar sctb512 commented on September 28, 2024

Thanks for your reply. Before I was able to build successfully, I had modified these places in shenango/shared.mk.
Before modifying, I would get the error as follows:

iokernel/mlx.h:5:10: fatal error: mlx5_custom.h: No such file or directory

from aifm.

zainryan avatar zainryan commented on September 28, 2024

Thanks for your reply. Before I was able to build successfully, I had modified these places in shenango/shared.mk.
Before modifying, I would get the error as follows:

iokernel/mlx.h:5:10: fatal error: mlx5_custom.h: No such file or directory

Sorry for the late reply. The error is caused by the intermediate mlx5 files left by your first compilation with CONFIG_MLX5=y. You can simply clone a new repo from scratch, set CONFIG_MLX5=n & CONFIG_MLX4=y & CONFIG_DIRECTPATH=n, and recompile.

from aifm.

zainryan avatar zainryan commented on September 28, 2024

In addition, our project is mostly implemented using mlx5 NIC and only has limited support for mlx4, so you may observe reduced performance with mlx4. When running the program, you have to delete enable_directpath 1 of all config files in AIFM/aifm/configs/. Please let me know if you have any further questions, I'm happy to answer.

from aifm.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.