Skip to content

Commit cb1f467

Browse files
committed
Fix lintrunner
1 parent ab57a8d commit cb1f467

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

backends/cuda/runtime/cuda_backend.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class ET_EXPERIMENTAL CudaBackend final
5252
Error load_function_pointers_into_handle(
5353
void* so_handle,
5454
AOTIDelegateHandle* handle) const {
55-
5655
#define LOAD_SYMBOL(member, name) \
5756
do { \
5857
auto symbol_res = get_function(so_handle, #name); \
@@ -75,7 +74,7 @@ class ET_EXPERIMENTAL CudaBackend final
7574

7675
handle->update_constants_from_blob =
7776
reinterpret_cast<AOTInductorModelUpdateConstantsFromBlobFunc>(
78-
dlsym(so_handle, "AOTInductorModelUpdateConstantsFromBlob"));
77+
get_function(so_handle, "AOTInductorModelUpdateConstantsFromBlob"));
7978
if (handle->update_constants_from_blob == nullptr) {
8079
ET_LOG(
8180
Info,

examples/models/moshi/mimi/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -x
1010
conda install -c conda-forge "ffmpeg<8" -y
1111
pip install torchcodec==0.7.0.dev20251012 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
1212
pip install moshi==0.2.4 --no-deps
13-
pip install bitsandbytes soundfile
13+
pip install bitsandbytes soundfile einops
1414
# Run llama2/install requirements for torchao deps
1515
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
1616
bash "$SCRIPT_DIR"/../../llama/install_requirements.sh

0 commit comments

Comments
 (0)