Skip to content

Conversation

a3213105
Copy link
Contributor

@a3213105 a3213105 commented Jun 28, 2024

Usage:
before you run instance
export KV_CACHE_LOCATION=#memory_numa_node_id_you_want_to_use_for_kv_cache

by defaults, kv_cache location is the same as other parts of instance.

…ocation

Usage:
before you run instance
export KV_CACHE_LOCATION=#memory_numa_node_id_you_want_to_use_for_kv_cache

by defaults, kv_cache location is the same as other parts of instance.
@pujiang2018
Copy link
Contributor

@a3213105 we need to put the environment reading to a unified place, please put it to environment.h

@a3213105
Copy link
Contributor Author

a3213105 commented Jul 2, 2024

@a3213105 we need to put the environment reading to a unified place, please put it to environment.h

DONE

int getPrimitiveCacheM() { return primitiveCacheM; }

// get KV Cache Location
int getKVCacheLocation() { return primitiveCacheM; }
Copy link
Contributor

Choose a reason for hiding this comment

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

should be kvCacheLocation? and initKVCacheLocation is never called?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants