lablup / lablup/backend.ai

Expose allocation map to `AbstractComputePlugin.get_hooks()` interface

Open
#4,100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

## Motivation  

- By exposing allocation map to `get_hooks()` interface, compute plugin may decide plugin hook variant depending on the allocation status.

## Required Features

- Add new parameter `device_alloc` to `get_hooks()` interface
- Update agent to feed alloc map when calling `get_hooks()`

## Impact  

- Accelerator interface version will be updated from `v21` to `v22`

## Testing Scenarios  

-

JIRA Issue: BA-1097

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.