-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [feature] MHSA for ITA Features - Added configuration file for MemPool with ITA Changes - ITA: Load RQS parameter from memory - ITA: Support user-specified output address for results - ITA: Support different matrix shapes - ITA: Support 32-bit row-vise biases - ITA: Fetch Q and K always from ITA Core 0 Fix - ITA: Fix overflow bug in streaming_partial_softmax Important Note The softmax values have a maximum value of 127 as `sumdot` modules of the hardware can only do signed-signed operations for now. This is a temporary fix until `sumdot` is fixed.
- Loading branch information
Showing
4 changed files
with
468 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright 2021 ETH Zurich and University of Bologna. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
address: | ||
scratch_reg: 0x40000000 | ||
wakeup_reg: 0x40000004 | ||
tcdm_start: 0x40000008 | ||
tcdm_end: 0x4000000C | ||
nr_cores: 0x40000010 | ||
uart: 0xC0000000 | ||
# Not supported in MemPool | ||
barrier_reg: | ||
start: 0x50000000 | ||
offset: 0x100000 | ||
cluster_base_hartid: 0x50000001 | ||
cluster_num: 0x50000002 | ||
cluster_id: 0x50000003 | ||
cl_clint: 0x40000060 | ||
clint: 0xFFFF0000 | ||
memory: | ||
tcdm: | ||
start: 0x0 | ||
size: 0x100000 | ||
offset: 0x100000 | ||
latency: 5 | ||
dram: | ||
start: 0x80000000 | ||
size: 0x01000000 | ||
offset: 0x0 | ||
latency: 10 | ||
periphs: | ||
start: 0x40000000 | ||
size: 0x20000 | ||
offset: 0x0 | ||
latency: 5 | ||
callbacks: | ||
- name: zero-memory | ||
size: 0x40 | ||
- name: mempool-ita | ||
size: 0xC0 | ||
- name: zero-memory | ||
size: 0xFF00 | ||
- name: mempool-dma | ||
size: 0x1C | ||
inst_latency: | ||
mul: 3 | ||
mulh: 3 | ||
mulhsu: 3 | ||
mulhu: 3 | ||
div: 3 | ||
divu: 3 | ||
rem: 3 | ||
remu: 3 | ||
ssr: | ||
num_dm: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.