Skip to content

[ Task Excutor ] Add Task Executor for Load/Unload Tensor #3115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jijoongmoon
Copy link
Collaborator

This PR provide asynchronous Task Executor which works with tensor
pool.
The synchronize load and unlaod pair of Tasks are managed in Executor
and Cache loader.

Changes proposed in this PR:

  • Added TOC generator for README.md

Resolves:

Self evaluation:

  1. Build test: [X]Passed [ ]Failed [ ]Skipped
  2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon [email protected]

jijoongmoon and others added 3 commits April 14, 2025 14:41
Describe a commit content (Until 80 colums per line) in detail ASAP.

**Changes proposed in this PR:**
- Added TOC generator for README.md

Resolves:

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <[email protected]>
FSU For Window LLM Test

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Donghak PARK <[email protected]>
This PR provide asynchronous Task Executor which works with tensor
pool.
The synchronize load and unlaod pair of Tasks are managed in Executor
and Cache loader.

**Changes proposed in this PR:**
- Added TOC generator for README.md

Resolves:

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <[email protected]>
Copy link
Contributor

@EunjuYang EunjuYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check if this PR is created as you intended?

option('enable-biqgemm', type: 'boolean', value: false)
option('biqgemm-path', type: 'string', value: '../BiQGEMM')
option('enable-biqgemm', type: 'boolean', value: true)
option('biqgemm-path', type: 'string', value: '/home/jijoongmoon/WorkSpace1/nntrainer-i/BiQGEMM')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
option('biqgemm-path', type: 'string', value: '/home/jijoongmoon/WorkSpace1/nntrainer-i/BiQGEMM')
option('biqgemm-path', type: 'string', value: '../BiQGEMM')

@@ -43,8 +43,8 @@ option('enable-fp16', type: 'boolean', value: false)
option('enable-cublas', type: 'boolean', value: false)
option('enable-openmp', type: 'boolean', value: true)
option('enable-opencl', type: 'boolean', value: false)
option('enable-biqgemm', type: 'boolean', value: false)
option('biqgemm-path', type: 'string', value: '../BiQGEMM')
option('enable-biqgemm', type: 'boolean', value: true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
option('enable-biqgemm', type: 'boolean', value: true)
option('enable-biqgemm', type: 'boolean', value: false)

@@ -4,7 +4,7 @@ option('install-app', type: 'boolean', value: true)
option('use_gym', type: 'boolean', value: false)
option('enable-capi', type: 'feature', value: 'auto')
option('enable-ccapi', type: 'boolean', value: true)
option('enable-test', type: 'boolean', value: true)
option('enable-test', type: 'boolean', value: false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intended change?

Comment on lines +403 to +404
std::cout << ">>>>>>>>>>>>>>>>>>> Forwarding Start " << node->getName()<<std::endl;
// std::cout << "Layer : " << node->getName() << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std::cout << ">>>>>>>>>>>>>>>>>>> Forwarding Start " << node->getName()<<std::endl;
// std::cout << "Layer : " << node->getName() << std::endl;

Comment on lines +406 to +412
// print_rss();
std::cout << ">>>>>>>>>>>>>>>>>>> Forwarding END " << node->getName()<<std::endl;
// model_graph.UnloadTensors(f);

// model_graph.LoadTensors(f);
// model_graph.checkLoadComplete(f);
// node->forwarding(training);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// print_rss();
std::cout << ">>>>>>>>>>>>>>>>>>> Forwarding END " << node->getName()<<std::endl;
// model_graph.UnloadTensors(f);
// model_graph.LoadTensors(f);
// model_graph.checkLoadComplete(f);
// node->forwarding(training);

@DonghakPark
Copy link
Member

Could you check if this PR is created as you intended?

I think this comes from include

test

[FSU] FSU for window LLM TESET

this two commit.

i will check this change and merge into my version.

FYI) [FSU] FSU for window LLM TESET this test commit closed and split to 3 PR for merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants