-
Notifications
You must be signed in to change notification settings - Fork 54
Labels
3rd party packageIssue related to 3rd party packages, but not ExecuTorch, e.g. ExpoIssue related to 3rd party packages, but not ExecuTorch, e.g. Expo
Description
Description
Possibly related to: #595
I'm running into this error and I'm not sure how to fix it. Printing llm.error doesn't work because it errors out before it gets the chance.
Steps to reproduce
Here's what I'm doing:
import { useLLM, LLAMA3_2_1B } from "react-native-executorch";
export default function Screen() {
const llm = useLLM({ model: LLAMA3_2_1B });
console.log("llm.error", llm.error);
React.useEffect(() => {
console.log("Dowloading: ", llm.downloadProgress);
}, [llm.downloadProgress]);
}
Snack or a link to a repository
No response
React Native Executorch version
0.5.15
React Native version
0.81.5
Platforms
iOS
JavaScript runtime
None
Workflow
Expo Dev Client
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
AI model
No response
Performance logs
No response
Acknowledgements
Yes
ibrixxx and MrGru
Metadata
Metadata
Assignees
Labels
3rd party packageIssue related to 3rd party packages, but not ExecuTorch, e.g. ExpoIssue related to 3rd party packages, but not ExecuTorch, e.g. Expo