Skip to content

Commit

Permalink
Use the full header file path to fix the build (#1022)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #1022

Reviewed By: frank-wei, muchulee8

Differential Revision: D61810808

fbshipit-source-id: 76642714422a0ee2ce2d8e224a893c98bdca2278
  • Loading branch information
hl475 authored and facebook-github-bot committed Aug 27, 2024
1 parent 4360ae3 commit e2eff07
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fx2ait/fx2ait/csrc/AITModelImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
//
#pragma once

#include "model_interface.h" // @manual=//aitemplate/AITemplate/static/include:aitemplate
#ifdef FBCODE_AIT
#include "aitemplate/AITemplate/static/include/model_interface.h" // @manual=//aitemplate/AITemplate/static/include:aitemplate
#else
#include "model_interface.h" // @manual
#endif

#include <dlfcn.h>
#include <torch/torch.h> // @manual=//caffe2:torch-cpp
Expand Down

0 comments on commit e2eff07

Please sign in to comment.