Skip to content

Commit 9b096a3

Browse files
committed
fix typo
Signed-off-by: dezhliao <[email protected]>
1 parent 0c118bd commit 9b096a3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

shortfin/python/shortfin_apps/llm/components/lifecycle.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ def __init__(self, args):
6565
server_params.decode_config = decode_config
6666

6767
# use number of workers as number of logical device per physical device
68-
os.environ['SHORTFIN_AMDGPU_LOGICAL_DEVICES_PER_PHYSICAL_DEVICE'] = str(server_params.workers)
68+
os.environ["SHORTFIN_AMDGPU_LOGICAL_DEVICES_PER_PHYSICAL_DEVICE"] = str(
69+
server_params.workers
70+
)
6971

7072
# Setup system (configure devices, etc).
7173
sysman = LlmSystemManager(

shortfin/src/shortfin/local/device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ struct SHORTFIN_API DeviceAddress {
118118
uint64_t device_id_for_queue(uint32_t alternate_queue_ordinal) const {
119119
return static_cast<uint64_t>(instance_ordinal) << 32 |
120120
static_cast<uint64_t>(alternate_queue_ordinal) << 16 |
121-
static_cast<uint64_t>(instance_topology_address[0]);;
121+
static_cast<uint64_t>(instance_topology_address[0]);
122122
}
123123
};
124124

0 commit comments

Comments
 (0)