Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@Nayef211
Copy link
Contributor

As title

@joecummings joecummings marked this pull request as ready for review August 30, 2022 15:50
@joecummings joecummings merged commit ac9711a into pytorch:remove-dependency-jit Aug 30, 2022
joecummings added a commit that referenced this pull request Aug 31, 2022
…#1885)

* Remove dependency on the torch::jit::script::Module for mobile builds

Summary: In order to resolve linkage errors. Specifically when vocab getting build for "mobile" version it can't resolve symbols for torch::jit::script::Module

Reviewed By: Nayef211

Differential Revision: D38771271

fbshipit-source-id: 693b656f2a17af9fa5a7a1904742557f902edb55

* Add vocab factory to CMakeLists

* Fix type conversion from py::object to STL container (#1887)

* Export symbols in `common.h` file (#1888)

* Fix type conversion from py::object to STL container

* Adding TORCHTEXT_API to expose symbols in common.h

* Add common.h import in corresponding cpp file

Co-authored-by: Alexander Mazukabzov <[email protected]>
Co-authored-by: Nayef Ahmed <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants