Skip to content

Commit

Permalink
Ensure skema[llms] included in docker image build (#610)
Browse files Browse the repository at this point in the history
## Summary of Changes

#601 introduced LLMs using
`langchain` and the Open AI API. The `llms` extra was included in the
extra `all`, but our docker image only installs `core` to avoid bloat:
https://github.com/ml4ai/skema/blob/3af73f74ec127e0fb4c5abf4d3a8f9bd0eea3e71/Dockerfile.skema-py#L53

This caused an import error that triggered a deployment failure loop. be313e6
  • Loading branch information
github-actions[bot] committed Oct 31, 2023
1 parent 4a67c2f commit 09040bb
Show file tree
Hide file tree
Showing 634 changed files with 56,009 additions and 56,009 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ <h3>Instance variables</h3>
<h3>Methods</h3>
<dl>
<dt id="skema.img2mml.models.decoders.xfmer_decoder.Transformer_Decoder.create_pad_mask"><code class="name flex">
<span>def <span class="ident">create_pad_mask</span></span>(<span>self, matrix: <built-in method tensor of type object at 0x7f77e695b500>, pad_token: int) ‑> <built-in method tensor of type object at 0x7f77e695b500></span>
<span>def <span class="ident">create_pad_mask</span></span>(<span>self, matrix: <built-in method tensor of type object at 0x7f23b1f5b500>, pad_token: int) ‑> <built-in method tensor of type object at 0x7f23b1f5b500></span>
</code></dt>
<dd>
<div class="desc"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h3>Class variables</h3>
<h3>Methods</h3>
<dl>
<dt id="skema.img2mml.models.encoding.positional_encoding_for_xfmer.PositionalEncoding.forward"><code class="name flex">
<span>def <span class="ident">forward</span></span>(<span>self, x: <built-in method tensor of type object at 0x7f77e695b500>) ‑> <built-in method tensor of type object at 0x7f77e695b500></span>
<span>def <span class="ident">forward</span></span>(<span>self, x: <built-in method tensor of type object at 0x7f23b1f5b500>) ‑> <built-in method tensor of type object at 0x7f23b1f5b500></span>
</code></dt>
<dd>
<div class="desc"><p>Defines the computation performed at every call.</p>
Expand Down
20 changes: 10 additions & 10 deletions coverage/code2fn_coverage/data/cast/ABM-COVID-ABS/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -23380,7 +23380,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.Is object at 0x7ffac8c7bca0>",
"op": "<_ast.Is object at 0x7f3a2fd6bd60>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -23571,7 +23571,7 @@
"value": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.Is object at 0x7ffac8c7bca0>",
"op": "<_ast.Is object at 0x7f3a2fd6bd60>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -23822,7 +23822,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -24268,7 +24268,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -25904,7 +25904,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -26084,7 +26084,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.Is object at 0x7ffac8c7bca0>",
"op": "<_ast.Is object at 0x7f3a2fd6bd60>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -27678,7 +27678,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -30597,7 +30597,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -32809,7 +32809,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -33189,7 +33189,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25337,7 +25337,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.Is object at 0x7ffac8c7bca0>",
"op": "<_ast.Is object at 0x7f3a2fd6bd60>",
"operands": [
{
"id": 128,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46583,7 +46583,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"id": 223,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10011,7 +10011,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -12062,7 +12062,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"attr": {
Expand Down Expand Up @@ -24194,7 +24194,7 @@
"expr": {
"interpreter": "Python",
"node_type": "Operator",
"op": "<_ast.IsNot object at 0x7ffac8c7bd00>",
"op": "<_ast.IsNot object at 0x7f3a2fd6bdc0>",
"operands": [
{
"id": 153,
Expand Down
Loading

0 comments on commit 09040bb

Please sign in to comment.