Skip to content

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented Jun 11, 2024

Summary:

  1. Add dtype_selective_build as an option to executorch_generated_lib
  2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
  3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. header_namespace is only available in xplat, used to link headers into correct place.

error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)

Reviewed By: larryliu0820

Differential Revision: D58396325

Copy link

pytorch-bot bot commented Jun 11, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3938

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit c7d0f8f with merge base 7f0c0b8 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

@lucylq lucylq force-pushed the export-D58396325 branch from 7a15c59 to 9e92fd2 Compare June 12, 2024 16:41
lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 12, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

@lucylq lucylq force-pushed the export-D58396325 branch from 9e92fd2 to ccb54be Compare June 12, 2024 22:20
lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 12, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 12, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@lucylq lucylq force-pushed the export-D58396325 branch from ccb54be to 4de1f72 Compare June 12, 2024 22:25
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

@lucylq lucylq force-pushed the export-D58396325 branch from 4de1f72 to 9e40763 Compare June 12, 2024 22:31
lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 12, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 12, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@lucylq lucylq force-pushed the export-D58396325 branch from 9e40763 to 5c62195 Compare June 12, 2024 23:58
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 13, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@lucylq lucylq force-pushed the export-D58396325 branch from 5c62195 to 1ee687d Compare June 13, 2024 04:50
lucylq added a commit to lucylq/executorch-1 that referenced this pull request Jun 13, 2024
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

@lucylq lucylq force-pushed the export-D58396325 branch from 1ee687d to 8893fd1 Compare June 13, 2024 04:55
Summary:
Pull Request resolved: pytorch#3938

1. Add dtype_selective_build as an option to executorch_generated_lib
2. Copy portable source and header files into codegen.bzl directory (this is the caller's directory, eg. examples/selective_build)
3. If kernel_deps contains portable_ops, remove it and use the source files

Note: dtype selective build only available for xplat. `header_namespace` is only available in xplat, used to link headers into correct place.
```
error: fail: cpp_library(): the `header_namespace` parameter is *not* supported in fbcode -- `#include` paths must match their fbcode-relative path. (executorch/backends/vulkan/serialization/schema/vk_delegate_schema)
```

New API usage:

```
executorch_generated_lib(
...
dtype_selective_build = True,
...
)
```

Reviewed By: larryliu0820

Differential Revision: D58396325
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58396325

@lucylq lucylq force-pushed the export-D58396325 branch from 8893fd1 to c7d0f8f Compare June 13, 2024 05:02
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1547bcf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants