Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions torchao/csrc/rocm/swizzle/swizzle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ static size_t _parseChosenWorkspaceSize() {
if (val.has_value()) {
try {
workspace_size = std::stoi(val.value());
} catch(std::invalid_argument const& e) {
} catch(std::invalid_argument const&) {
TORCH_WARN("invalid CUBLASLT_WORKSPACE_SIZE,",
" using default workspace size of ", workspace_size, " KiB.");
} catch(std::out_of_range const& e) {
} catch(std::out_of_range const&) {
TORCH_WARN("CUBLASLT_WORKSPACE_SIZE out of range,",
" using default workspace size of ", workspace_size, " KiB.");
}
Expand Down
Loading