Coder Social home page Coder Social logo

sbu-fsl / kernel-ml Goto Github PK

View Code? Open in Web Editor NEW
220.0 220.0 25.0 143.81 MB

Machine Learning Framework for Operating Systems - Brings ML to Linux kernel

License: Apache License 2.0

CMake 3.25% C++ 6.09% C 74.64% Makefile 0.27% Shell 15.75%
auto-tuning kernel-module linux-kernel machine-learning mlsys operating-systems

kernel-ml's People

Contributors

iumitakgun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kernel-ml's Issues

a question for kernel-ml

I'm sorry to bother you. However, I encountered the following problem while compiling my project into the kernel. Could you please advise on how to solve it? I'm using Ubuntu 18.04 as my operating system and GCC version 7.5.

MODPOST vmlinux.o
block/mq-adios.o: In function 'dd_init_queue':
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:493: undefined reference to 'build_linear_regression'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:494: undefined reference to 'io_scheduler_linear_check_correction'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:496: undefined reference to 'set_random_matrix'
block/mq-adios.o: In function '__dd_dispatch_request':
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:404: undefined reference to 'io_scheduler_linear_evaluate'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:394: undefined reference to 'io_scheduler_linear_evaluate'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:384: undefined reference to 'io_scheduler_linear_evaluate'
Makefile:1022: recipe for target 'vmlinux' failed.

This error message is indicating that there are undefined references to several functions in the mq-adios.c file, including "build_linear_regression", "io_scheduler_linear_check_correction", "set_random_matrix", and "io_scheduler_linear_evaluate". These errors occurred during the compilation of "vmlinux" and resulted in the failure of the make command.

no member named w in the linear_regression structure

Dear İbrahim Ümit Akgün,

I'm sorry to bother you. I am writing to bring to your attention a bug that I encountered while reviewing the code in mq-adios.c in the kernel-ml-linux repository.

Upon inspecting the code at line 495 of mq-adios.c, I noticed the following snippet:

io_sched_linear = build_linear_regression(0.03, 10, 0.99, 2);
io_sched_linear->check_correctness = io_scheduler_linear_check_correction;
set_random_matrix(io_sched_linear->w, modula);
The variable io_sched_linear is of type struct linear_regression, as defined in linear_regression.h. However, it appears that there is no member named w in the linear_regression structure. This inconsistency has resulted in compilation errors.

Here is the relevant definition of the linear_regression structure:

typedef struct linear_regression {
int batch_size;
sgd_optimizer *sgd;
loss *loss;
layers *layer_list;
bool (*check_correctness)(val result, val prediction);

model_data data;
model_multithreading multithreading;
model_state state;
} linear_regression;
Could you please look into this issue and provide a fix? It seems that there may be a discrepancy between the code in mq-adios.c and the definition of the linear_regression structure.

Thank you for your attention. I appreciate your efforts in maintaining the kernel-ml-linux repository.

Best regards,

a question about -I path in your kernel-src Makefile

I'm sorry to bother you,I would like to inquire about the presence of any header files at this specific path(-I/home/umit/research/kernel-ml/kml/include,KBUILD_CFLAGS += -I/home/kml/include).
I find the paths separately in these tow files(kernel-ml-linux\block\Makefile, kernel-ml-linux\mm\Makefile)

Are the headers files included as part of this open-source project, or are they solely present on your PC?I am currently unable to compile successfully, and I suspect the issue is related to this header file path.

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.