Skip to content

Commit

Permalink
Remove torch:: namespace reference from LLaMMARunner.mm (#5516)
Browse files Browse the repository at this point in the history
Summary:
examples/ code should use the new `executorch::` namespaces.

Pull Request resolved: #5516

Test Plan: Built the app using the instructions at https://github.com/pytorch/executorch/blob/main/examples/demo-apps/apple_ios/LLaMA/README.md

Reviewed By: larryliu0820

Differential Revision: D63138639

Pulled By: dbort

fbshipit-source-id: fffb6d35d425dd733eead1b24ee8b9f2831e65c0
  • Loading branch information
dbort authored and facebook-github-bot committed Sep 23, 2024
1 parent 182f138 commit b361f91
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#import <executorch/examples/models/llama2/runner/runner.h>
#import <executorch/examples/models/llava/runner/llava_runner.h>

using namespace ::torch::executor;
using executorch::extension::llm::Image;
using executorch::runtime::Error;

NSErrorDomain const LLaMARunnerErrorDomain = @"LLaMARunnerErrorDomain";
NSErrorDomain const LLaVARunnerErrorDomain = @"LLaVARunnerErrorDomain";
Expand Down

0 comments on commit b361f91

Please sign in to comment.