# \#compute-modules

**URL:** https://community.palantir.com/tag/compute-modules/65.md

[Latest](https://community.palantir.com/latest.md) · [Categories](https://community.palantir.com/categories.md) · [Tags](https://community.palantir.com/tags.md)

---

## [Compute Module & AI FDE - Skills/tools](https://community.palantir.com/t/compute-module-ai-fde-skills-tools/7229)

<div class="topic-metadata">

**Author:** [@9eab477d6eb76c06c4f6](https://community.palantir.com/u/9eab477d6eb76c06c4f6)\
**Replies:** 0\
**Last updated:** [September 15, 2026, 2:45am UTC](https://community.palantir.com/t/compute-module-ai-fde-skills-tools/7229 "2026-09-15T02:45:16Z")

</div>

Hello, Is there any skills/tools that could be available in the near future for AI FDE to interact with Compute module (Push new tag, Check logs, test Functions) ? Or would you recommend to go via Palantir MCP routes f…

---

## [Federation layer, Self-hosting of LLMs & Routing - More examples available?](https://community.palantir.com/t/federation-layer-self-hosting-of-llms-routing-more-examples-available/7099)

<div class="topic-metadata">

**Author:** [@9eab477d6eb76c06c4f6](https://community.palantir.com/u/9eab477d6eb76c06c4f6)\
**Replies:** 0\
**Last updated:** [August 12, 2026, 1:27am UTC](https://community.palantir.com/t/federation-layer-self-hosting-of-llms-routing-more-examples-available/7099 "2026-08-12T01:27:04Z")

</div>

Hello, I came across this interesting (but short) documentation regarding the implementation of a proxy or federation layer (I think mostly call model router outside the platform?). Bring your own model • Build a proxy…

---

## [Receive Large Pushes from External Source](https://community.palantir.com/t/receive-large-pushes-from-external-source/6836)

<div class="topic-metadata">

**Author:** [@mmagid](https://community.palantir.com/u/mmagid)\
**Replies:** 2\
**Last updated:** [July 28, 2026, 7:46pm UTC](https://community.palantir.com/t/receive-large-pushes-from-external-source/6836 "2026-07-28T19:46:09Z")

</div>

I am trying to receive a push from an external source (Oracle Fusion I believe). Initially we tried this via streams, but the payload did not conform to standard stream schemas. We tried listeners next, but some of the j…

---

## [GPU resource allocation on sidecar transforms](https://community.palantir.com/t/gpu-resource-allocation-on-sidecar-transforms/6748)

<div class="topic-metadata">

**Author:** [@michaello](https://community.palantir.com/u/michaello)\
**Replies:** 2\
**Last updated:** [June 16, 2026, 4:54pm UTC](https://community.palantir.com/t/gpu-resource-allocation-on-sidecar-transforms/6748 "2026-06-16T16:54:55Z")

</div>

I have a sidecar transform that needs to use a GPU. How should I configure the resources? @sidecar(image="my-compute-module", tag="0.0.1", volumes=\[Volume("shared")\], resource\_profile="LARGE\_CPU\_LARGE\_MEMORY\_GPU\_ENABL…

---

## [Compute module - Are resource queues affecting replicas spin-up?](https://community.palantir.com/t/compute-module-are-resource-queues-affecting-replicas-spin-up/4083)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 0\
**Last updated:** [June 3, 2025, 9:36am UTC](https://community.palantir.com/t/compute-module-are-resource-queues-affecting-replicas-spin-up/4083 "2025-06-03T09:36:27Z")

</div>

When I launch a compute module, replicas are starting. Per the docs, the startup time seems to be potentially affected by the size of the resources requested, etc. https://www.palantir.com/docs/foundry/compute-modules/d…

---

## [Mounting multiples files for docker container](https://community.palantir.com/t/mounting-multiples-files-for-docker-container/6591)

<div class="topic-metadata">

**Author:** [@starryberry](https://community.palantir.com/u/starryberry)\
**Replies:** 0\
**Last updated:** [May 15, 2026, 11:26am UTC](https://community.palantir.com/t/mounting-multiples-files-for-docker-container/6591 "2026-05-15T11:26:46Z")

</div>

Greetings, I’m deploying model objective via docker images. Dockerfile is like this FROM \<MODEL\_BASE\_IMG\> USER root WORKDIR /models RUN getent group 1000 ... COPY /folder/model\_checkpoint /models/checkpoint RUN cho…

---

## [Using Compute Module functions in AIP logic](https://community.palantir.com/t/using-compute-module-functions-in-aip-logic/6215)

<div class="topic-metadata">

**Author:** [@noah](https://community.palantir.com/u/noah)\
**Replies:** 1\
**Last updated:** [March 19, 2026, 9:11am UTC](https://community.palantir.com/t/using-compute-module-functions-in-aip-logic/6215 "2026-03-19T09:11:45Z")

</div>

Hi, I am trying to call two functions from my compute module into AIP Logic. I’m getting an error stating that compute module functions are registering as ‘statefulFunction type which is unsupported in scoped mode’ in th…

---

## [How to trigger a schedule based on new rows in a CDC stream ingest (aka, how to get a batch CDC)?](https://community.palantir.com/t/how-to-trigger-a-schedule-based-on-new-rows-in-a-cdc-stream-ingest-aka-how-to-get-a-batch-cdc/6204)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 1\
**Last updated:** [March 16, 2026, 1:17pm UTC](https://community.palantir.com/t/how-to-trigger-a-schedule-based-on-new-rows-in-a-cdc-stream-ingest-aka-how-to-get-a-batch-cdc/6204 "2026-03-16T13:17:47Z")

</div>

I did setup a CDC from a data source, in Foundry. Hence, this is a stream ingest. However, the updates are very irregular (a few times per day) but it would be important to process the update in a batch and relatively q…

---

## [Leveraging a GPU in Python Compute Modules](https://community.palantir.com/t/leveraging-a-gpu-in-python-compute-modules/5669)

<div class="topic-metadata">

**Author:** [@bkeohane](https://community.palantir.com/u/bkeohane)\
**Replies:** 1\
**Last updated:** [March 12, 2026, 7:08pm UTC](https://community.palantir.com/t/leveraging-a-gpu-in-python-compute-modules/5669 "2026-03-12T19:08:21Z")

</div>

We are trying to use GPU libraries for pytorch and cuda on a python compute module. We are trying to detect GPU access in the compute module, but the function to detect ability to use GPU via pytorch is returning false. …

---

## [\[Error\] Untyped value conversion failed](https://community.palantir.com/t/error-untyped-value-conversion-failed/5934)

<div class="topic-metadata">

**Author:** [@akp](https://community.palantir.com/u/akp)\
**Replies:** 1\
**Last updated:** [January 30, 2026, 5:39pm UTC](https://community.palantir.com/t/error-untyped-value-conversion-failed/5934 "2026-01-30T17:39:41Z")

</div>

Dear Members, Need assistance on one of the issue i’m encountering when trying to implement the below logic. Flow: Workshop Action → TypeScript function (optimize or wrapper) → Calls Python compute module . As per pal…

---

## [Compute module for large .mdf files](https://community.palantir.com/t/compute-module-for-large-mdf-files/5642)

<div class="topic-metadata">

**Author:** [@mkiffel](https://community.palantir.com/u/mkiffel)\
**Replies:** 1\
**Last updated:** [December 8, 2025, 3:36pm UTC](https://community.palantir.com/t/compute-module-for-large-mdf-files/5642 "2025-12-08T15:36:40Z")

</div>

How should I configure a compute module that needs to read large files that represent databases and output some tables from the db into Foundry datasets? I have a docker container that works well locally, and I am not s…

---

## [Investigating High Request Overhead in Developer Console Compute Module API Calls](https://community.palantir.com/t/investigating-high-request-overhead-in-developer-console-compute-module-api-calls/5395)

<div class="topic-metadata">

**Author:** [@akhilvc10](https://community.palantir.com/u/akhilvc10)\
**Replies:** 2\
**Last updated:** [November 9, 2025, 9:01pm UTC](https://community.palantir.com/t/investigating-high-request-overhead-in-developer-console-compute-module-api-calls/5395 "2025-11-09T21:01:13Z")

</div>

I’m calling a backend service configured through the Developer Console API, which triggers a Compute Module function under the hood. Currently, the function returns a simple JSON response: {"success": true} Here’s wha…

---

## [Get current tagged version at runtime](https://community.palantir.com/t/get-current-tagged-version-at-runtime/5252)

<div class="topic-metadata">

**Author:** [@mschrader](https://community.palantir.com/u/mschrader)\
**Replies:** 3\
**Last updated:** [October 15, 2025, 2:42pm UTC](https://community.palantir.com/t/get-current-tagged-version-at-runtime/5252 "2025-10-15T14:42:55Z")

</div>

I have a Python Compute Module, which is authored via Foundry repository. How can I at runtime pull the current tag in my Python code?

---

## [Type inference issue in Compute Module – Optional numeric fields (Type.Optional(Type.Integer())) showing as string in console](https://community.palantir.com/t/type-inference-issue-in-compute-module-optional-numeric-fields-type-optional-type-integer-showing-as-string-in-console/5234)

<div class="topic-metadata">

**Author:** [@akhilvc10](https://community.palantir.com/u/akhilvc10)\
**Replies:** 0\
**Last updated:** [October 13, 2025, 8:42am UTC](https://community.palantir.com/t/type-inference-issue-in-compute-module-optional-numeric-fields-type-optional-type-integer-showing-as-string-in-console/5234 "2025-10-13T08:42:10Z")

</div>

I’m facing a schema inference issue with @palantir/compute-module when using TypeBox to define input types for my compute module. Here’s the relevant part of my schema: const MultiHotelRateRequestSchema = Type.Object({…

---

## [Accessing Compute Module Functions](https://community.palantir.com/t/accessing-compute-module-functions/5142)

<div class="topic-metadata">

**Author:** [@RajKarri](https://community.palantir.com/u/RajKarri)\
**Replies:** 1\
**Last updated:** [October 2, 2025, 3:12pm UTC](https://community.palantir.com/t/accessing-compute-module-functions/5142 "2025-10-02T15:12:13Z")

</div>

I have a Compute Module with two published functions (Queries/APIs created). In TypeScript Functions repo → I can access them using Queries method. In Python Functions repo → functions are importable but not callable t…

---

## [\[Compute Module\] “Default:InvalidArgument” on Save when creating module from Compute Module](https://community.palantir.com/t/compute-module-default-invalidargument-on-save-when-creating-module-from-compute-module/5134)

<div class="topic-metadata">

**Author:** [@akhilvc10](https://community.palantir.com/u/akhilvc10)\
**Replies:** 1\
**Last updated:** [September 30, 2025, 8:32pm UTC](https://community.palantir.com/t/compute-module-default-invalidargument-on-save-when-creating-module-from-compute-module/5134 "2025-09-30T20:32:56Z")

</div>

I’m creating a function-backed Compute Module from a Docker image that I uploaded to Foundry Artifacts. The same container runs fine on my laptop (Mac), listens on port 8080. When I click Save in the Configure tab, Foun…

---

## [Compute Modules in Pipeline Mode - how to commit a transaction to a dataset?](https://community.palantir.com/t/compute-modules-in-pipeline-mode-how-to-commit-a-transaction-to-a-dataset/5126)

<div class="topic-metadata">

**Author:** [@nicornk](https://community.palantir.com/u/nicornk)\
**Replies:** 2\
**Last updated:** [September 28, 2025, 8:02pm UTC](https://community.palantir.com/t/compute-modules-in-pipeline-mode-how-to-commit-a-transaction-to-a-dataset/5126 "2025-09-28T20:02:31Z")

</div>

I have been trying compute modules pipeline mode today in preparation for an “email polling and forwarding to foundry” workflow. I struggle to understand how I could commit a transaction. It seems the build2 system open…

---

## [Incorrect Documentation](https://community.palantir.com/t/incorrect-documentation/5043)

<div class="topic-metadata">

**Author:** [@jpa](https://community.palantir.com/u/jpa)\
**Replies:** 9\
**Last updated:** [September 17, 2025, 9:31pm UTC](https://community.palantir.com/t/incorrect-documentation/5043 "2025-09-17T21:31:37Z")

</div>

In the logging section within compute modules documentation tab See image below

---

## [Compute Modules - Writing to Media Sets](https://community.palantir.com/t/compute-modules-writing-to-media-sets/4689)

<div class="topic-metadata">

**Author:** [@msheehan](https://community.palantir.com/u/msheehan)\
**Replies:** 5\
**Last updated:** [August 13, 2025, 5:45pm UTC](https://community.palantir.com/t/compute-modules-writing-to-media-sets/4689 "2025-08-13T17:45:39Z")

</div>

Hey there, Does anyone have experience writing to a media set from a compute module in pipeline mode. I’m trying to create a compute Module that writes to a Mediaset. I’m currently attempting to write to it like this …

---

## [Compute modules do not pickup optional fileds with @sinclair/typebox](https://community.palantir.com/t/compute-modules-do-not-pickup-optional-fileds-with-sinclair-typebox/4441)

<div class="topic-metadata">

**Author:** [@CodeStrap](https://community.palantir.com/u/CodeStrap)\
**Replies:** 10\
**Last updated:** [July 11, 2025, 6:47pm UTC](https://community.palantir.com/t/compute-modules-do-not-pickup-optional-fileds-with-sinclair-typebox/4441 "2025-07-11T18:47:25Z")

</div>

When I define optional params like the following: const Schemas = { askVickie: { input: Type.Object({ query: Type.String(), userId: Type.String(), threadId: Type.Optional(Type.String()), }), …

---

## [Calling Compute Modules Directly From Dev Console Applications](https://community.palantir.com/t/calling-compute-modules-directly-from-dev-console-applications/4386)

<div class="topic-metadata">

**Author:** [@jtbkcb](https://community.palantir.com/u/jtbkcb)\
**Replies:** 0\
**Last updated:** [July 3, 2025, 5:24pm UTC](https://community.palantir.com/t/calling-compute-modules-directly-from-dev-console-applications/4386 "2025-07-03T17:24:11Z")

</div>

We want to directly call compute module functions by hitting the contour-backend-multiplexer endpoints, from a react-based developer console application deployed via a devops product that packages the compute module. Som…

---

## [Can compute module functions back ontology actions?](https://community.palantir.com/t/can-compute-module-functions-back-ontology-actions/4230)

<div class="topic-metadata">

**Author:** [@CodeStrap](https://community.palantir.com/u/CodeStrap)\
**Replies:** 1\
**Last updated:** [June 17, 2025, 5:06am UTC](https://community.palantir.com/t/can-compute-module-functions-back-ontology-actions/4230 "2025-06-17T05:06:09Z")

</div>

Is it possible to have a function defined in my compute module back an Ontology action, just like Function Backed Actions for code repositories?

---

## [How can I import a compute-module-backed-function in a normal Typescript v1, v2 or Python function?](https://community.palantir.com/t/how-can-i-import-a-compute-module-backed-function-in-a-normal-typescript-v1-v2-or-python-function/4170)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 1\
**Last updated:** [June 10, 2025, 1:11pm UTC](https://community.palantir.com/t/how-can-i-import-a-compute-module-backed-function-in-a-normal-typescript-v1-v2-or-python-function/4170 "2025-06-10T13:11:16Z")

</div>

I wrote a compute module which exposes some functions. I want to be able to call those functions from another function. Usually functions that can be called from other functions are named “Query()” but what is the equiv…

---

## [Read a local file from computer module](https://community.palantir.com/t/read-a-local-file-from-computer-module/4042)

<div class="topic-metadata">

**Author:** [@amaroli](https://community.palantir.com/u/amaroli)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 10:46pm UTC](https://community.palantir.com/t/read-a-local-file-from-computer-module/4042 "2025-06-02T22:46:21Z")

</div>

I have Python code repository compute module function. How do I read the contents (json text file) stored as configuration in the same location as code repository?

---

## [Compute module functions can not be included in the OSDK](https://community.palantir.com/t/compute-module-functions-can-not-be-included-in-the-osdk/3899)

<div class="topic-metadata">

**Author:** [@CodeStrap](https://community.palantir.com/u/CodeStrap)\
**Replies:** 7\
**Last updated:** [May 19, 2025, 8:15pm UTC](https://community.palantir.com/t/compute-module-functions-can-not-be-included-in-the-osdk/3899 "2025-05-19T20:15:50Z")

</div>

I can not include my compute module functions in an OSDK application. I can include them in a functions repo, but this defeats the purpose of using compute modules. Compute module functions need the ability to be invoked…

---

## [Compute module - How to expose a function with optional parameters?](https://community.palantir.com/t/compute-module-how-to-expose-a-function-with-optional-parameters/3874)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 0\
**Last updated:** [May 15, 2025, 10:53am UTC](https://community.palantir.com/t/compute-module-how-to-expose-a-function-with-optional-parameters/3874 "2025-05-15T10:53:32Z")

</div>

In compute module, one can expose a python function with some parameters. Those parameters can be “nullable” but it seems they are still required for the execution of the function. Does this means they can only be fill…

---

## [Streaming from on-prem dashboard/service](https://community.palantir.com/t/streaming-from-on-prem-dashboard-service/1402)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 2\
**Last updated:** [October 25, 2024, 4:57pm UTC](https://community.palantir.com/t/streaming-from-on-prem-dashboard-service/1402 "2024-10-25T16:57:58Z")

</div>

I have an on-prem service, exposing a dashboard with live data. The dashboard exposes a live REST endpoint, which returns updated data every few seconds. I want to have a stream of this data in Foundry, updated every fe…

---

## [FOUNDRY\_URL fails DNS in Docker Compute Hello-World](https://community.palantir.com/t/foundry-url-fails-dns-in-docker-compute-hello-world/3813)

<div class="topic-metadata">

**Author:** [@9dad7e11d0742d58063e](https://community.palantir.com/u/9dad7e11d0742d58063e)\
**Replies:** 4\
**Last updated:** [May 9, 2025, 5:05pm UTC](https://community.palantir.com/t/foundry-url-fails-dns-in-docker-compute-hello-world/3813 "2025-05-09T17:05:28Z")

</div>

When attempting the simple hello-world compute module code provided on the Compute \> Documentation \> ’ Build a Compute Module backed pipeline’ page (also here), I consistently get an Name Resolution error. I have repro…

---

## [How to write a function in any language for a similar cost as serverless python or typescript?](https://community.palantir.com/t/how-to-write-a-function-in-any-language-for-a-similar-cost-as-serverless-python-or-typescript/3345)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 5\
**Last updated:** [April 2, 2025, 10:44am UTC](https://community.palantir.com/t/how-to-write-a-function-in-any-language-for-a-similar-cost-as-serverless-python-or-typescript/3345 "2025-04-02T10:44:51Z")

</div>

I want to write a function in Java or another language, that is not supported in a code repository that defines Foundry Functions, to run on the ontology and to be called from Workshop. How can I write a function in any…

---

## [Why we built it: Compute Modules](https://community.palantir.com/t/why-we-built-it-compute-modules/3292)

<div class="topic-metadata">

**Author:** [@jorienv](https://community.palantir.com/u/jorienv)\
**Replies:** 0\
**Last updated:** [March 25, 2025, 12:21pm UTC](https://community.palantir.com/t/why-we-built-it-compute-modules/3292 "2025-03-25T12:21:40Z")

</div>

Welcome back to our “why we built it” series! Today, we’ll tell you the inside story of Compute Modules, one of our newest developer capabilities. In our work with various government entities, we often have to deal with…

[Next page](https://community.palantir.com/tag/compute-modules/65.md?match_all_tags=true&page=1&tags%5B%5D=compute-modules)
